AW: [opencms-dev] adding a /sites/mysite

Nick Panienski panienski at codecentric.de
Thu Dec 1 13:30:27 CET 2005


Hi Chris,

it may be easier for you to put an additional entry to your hosts file

	127.0.0.1	localhost mysite

and put  

	<site server="http://mysite:8080" uri="/sites/mysite/"/>

into the opencms-system.xml. Not complicated ;)
I think this is the recommended way, mapping by dns names instead of ports.

Bye
Nick

> -----Ursprüngliche Nachricht-----
> Von: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von 
> Christoph P. Kukulies
> Gesendet: Donnerstag, 1. Dezember 2005 12:49
> An: opencms-dev at opencms.org
> Betreff: [opencms-dev] adding a /sites/mysite
> 
> I tried from various recipes I found but to no avail, to add 
> a /sites/mysite to have a clean playground to start with.
> 
> Last I tried was adding a line in opencms-system.xml:
> 
> <sites>
>         <workplace-server>http://localhost:8080</workplace-server>
>         <default-uri>/sites/default/</default-uri>
>         <site server="http://localhost:8080" uri="/sites/default/"/>
>         <site server="http://localhost:8080" 
> uri="/sites/mysite/"/> </sites>
> 
> This already looks strange (the same server 
> http://localhost:8080 entries) but I have no idea how to do it right.
> 
> Opencms fails starting on this opencms-system.xml.
> 
> Also Bernd Wolfsegger wrote in that mail I'm referring ( 
> http://mail.opencms.org/pipermail/opencms-dev/2005q2/016400.html):
> 
> "Well, you have to create a directory "/sites/www.mysite/" in 
> the VFS and fill it with whatever you need for your site."
> 
> How does one do this, "create a directory /sites/www.mysite"?
> 
> Oh man, opencms is complicated. Sigh. 
> 
> --
> Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list To 
> change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 




More information about the opencms-dev mailing list