[opencms-dev] Links and multi-site setups?

Bernd Wolfsegger bw at code-create.com
Sun Mar 27 13:36:41 CEST 2005


On Saturday 26 March 2005 14:44, Bernd Wolfsegger wrote:
> The other generell thing
> is, that the generated paths are differnt calling a side when logged in or
> when not logged in. So, if you use literal paths in your code you have to
> make sure, that the correct "root" path is used. For your site it is "/"
> when you are NOT logged in and "/sites/mysite/" when you are logged in ....

Wow, ;-)

the path used for preview when you are logged in depends on the setting of the 
selector "site".
When set to the same site as for the case when you are not logged in ( site 
settings in opencms-system.xml) and calling the site, the paths are 
identically...
If set to "/" and you have a preview of /sites/mysite/somthing.html 
the /sites/mysite/ is in the path.

Well, somebody could have told me! :)

Regards, Bernd



More information about the opencms-dev mailing list