<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">I have set up my internal OpenCMS box
as per the apace/multisite instructions (eventually!) and I can now access
the CMS quite happily, can edit/update/publish and do all the usual things.</font>
<br>
<br><font size=2 face="sans-serif">However - I have a strange problem -
I have several sites served by the same box but OpenCMS appears to be ignoring
the uri path from opencms-system.xml and serving all the sites via the
default-uri path of the workplace server.</font>
<br>
<br><font size=2 face="sans-serif">If I go to http://cms.systems.tssi.co.uk/
I get the default Opencms welcome page (which I would expect)</font>
<br><font size=2 face="sans-serif">If I go to http://tux.systems.tssi.co.uk/
I also get the default Opencms welcome page (which I wouldn't expect!).
If I go to http://tux.systems.tssi.co.uk/tssi/ I get the website that I
was expecting.. Editing the default-uri setting will change this behaviour
- the default then changes to wherever the default-uri points to so it
looks like Opencms is ignoring the site server uri settings and just using
the workplace-server uri setting for everything.</font>
<br>
<br><font size=2 face="sans-serif">opencms-system.xml is as follows:</font>
<br><font size=2 face="sans-serif"> <sites></font>
<br><font size=2 face="sans-serif">
<workplace-server>http://cms.systems.tssi.co.uk</workplace-server></font>
<br><font size=2 face="sans-serif">
<default-uri>/sites/</default-uri></font>
<br><font size=2 face="sans-serif">
<site server="http://tux.systems.tssi.co.uk" uri="/sites/tssi/"
/></font>
<br><font size=2 face="sans-serif"> </sites></font>
<br>
<br><font size=2 face="sans-serif">(I have taken out some of the site server
definitions - they all do the same wierdness)</font>
<br>
<br><font size=2 face="sans-serif">vhost definition is as follows:</font>
<br><font size=2 face="sans-serif"><VirtualHost *:80></font>
<br><font size=2 face="sans-serif">ServerName tux.systems.tssi.co.uk</font>
<br><font size=2 face="sans-serif">DocumentRoot /var/jakarta-tomcat/webapps/ROOT/</font>
<br><font size=2 face="sans-serif"> ErrorLog logs/tux.error.log</font>
<br><font size=2 face="sans-serif"> SetEnvIf Request_URI "\/opencms\/*"
redirect</font>
<br><font size=2 face="sans-serif"> CustomLog logs/tux-access.log
common env=!redirect</font>
<br><font size=2 face="sans-serif"> RewriteEngine
on</font>
<br><font size=2 face="sans-serif"> RewriteCond
%{REQUEST_URI}
^/export/(.*) [NC]</font>
<br><font size=2 face="sans-serif"> RewriteCond
"%{DOCUMENT_ROOT}%{REQUEST_FILENAME}"
!-f</font>
<br><font size=2 face="sans-serif"> RewriteCond
"%{DOCUMENT_ROOT}%{REQUEST_FILENAME}/index_export.html"
!-f</font>
<br><font size=2 face="sans-serif"> RewriteRule
.* http://127.0.0.1:8081/openCms/handle404?exporturi=%{REQUEST_URI}&%{QUERY_STRING}
[P]</font>
<br><font size=2 face="sans-serif"> ProxyPass
/opencms/
http://127.0.0.1:8081/opencms/</font>
<br><font size=2 face="sans-serif"> ProxyPassReverse /opencms/
http://127.0.0.1:8081/opencms/</font>
<br><font size=2 face="sans-serif"> ProxyPass
/resources/
http://127.0.0.1:8081/resources/</font>
<br><font size=2 face="sans-serif"> ProxyPassReverse /resources/
http://127.0.0.1:8081/resources/</font>
<br><font size=2 face="sans-serif"> ProxyPass
/export/
http://127.0.0.1:8081/export/</font>
<br><font size=2 face="sans-serif"> ProxyPassReverse /export/
http://127.0.0.1:8081/export/</font>
<br><font size=2 face="sans-serif"> ProxyPass
/
http://127.0.0.1:8081/opencms/</font>
<br><font size=2 face="sans-serif"> ProxyPassReverse /
http://127.0.0.1:8081/opencms/</font>
<br><font size=2 face="sans-serif"></VirtualHost></font>
<br>
<br><font size=2 face="sans-serif">Tomcat server.xml is as follows:</font>
<br>
<br><font size=2 face="sans-serif"><Connector</font>
<br><font size=2 face="sans-serif"> port="8081" minProcessors="5"
maxProcessors="75"</font>
<br><font size=2 face="sans-serif"> proxyName="tux.systems.tssi.co.uk"
proxyPort="80"</font>
<br><font size=2 face="sans-serif"> enableLookups="true"
redirectPort="8443"</font>
<br><font size=2 face="sans-serif"> acceptCount="100" debug="1"
connectionTimeout="20000"</font>
<br><font size=2 face="sans-serif"> disableUploadTimeout="true"
/></font>
<br><font size=2 face="sans-serif"> <Connector</font>
<br><font size=2 face="sans-serif"> port="8080" minProcessors="5"
maxProcessors="75"</font>
<br><font size=2 face="sans-serif"> proxyName="cms.systems.tssi.co.uk"
proxyPort="80"</font>
<br><font size=2 face="sans-serif"> enableLookups="true"
redirectPort="8443"</font>
<br><font size=2 face="sans-serif"> acceptCount="100" debug="1"
connectionTimeout="20000"</font>
<br><font size=2 face="sans-serif"> disableUploadTimeout="true"
/></font>
<br>
<br><font size=2 face="sans-serif">Any ideas?</font>
<br>
<br><font size=2 face="sans-serif">Cheers,</font>
<br><font size=2 face="sans-serif">Phil.</font>
<br><font size=2 face="sans-serif"><br>
===================================<br>
Phil Launchbury
IT Manager<br>
TSSI
Tel: +44 1793 747736<br>
Email: phil.launchbury@tssi.co.uk<br>
TSSI Helpdesk<br>
Tel: +44 (0)8450 707898 Fax: +44 1793 747701 <br>
Email: support@tssi.co.uk Web site: http://www.tssi.co.uk<br>
<br>
</font>
<BR>
________________________________________________________________________<BR>
This e-mail has been scanned for all viruses by Star. The<BR>
service is powered by MessageLabs. For more information on a proactive<BR>
anti-virus service working around the clock, around the globe, visit:<BR>
http://www.star.net.uk<BR>
________________________________________________________________________<BR>