<font size=2 face="sans-serif">Hi All,</font>
<br><font size=2 face="sans-serif">           
I have perform two separate installation of opencms one i have done already
and running successfully. But when i have done second installation on same
tomcat it runs but sharing the resources with first one and also when try
to login as admin into workplace first one working but in second i am getting
</font><font size=1 color=#2f2f2f face="Verdana">"Your session has
expired. Please log in again.</font><font size=3>" and i am not able
to login into workplace and second installation also using first installation
resources like css not its own. i have done these installation in windows
environment but the production in on linux VPS. below are the configuration
file that i have changed to run these site on local system.</font>
<br>
<br><font size=3>httpd.conf</font>
<br>
<br><font size=3><VirtualHost *:80> </font>
<br><font size=3>    <Directory "C:/Tomcat 8.0/webapps/ROOT/">
</font>
<br><font size=3>        Order allow,deny </font>
<br><font size=3>        Allow from all </font>
<br><font size=3>    </Directory> </font>
<br><font size=3>    ProxyPreserveHost On</font>
<br><font size=3>    ServerName testopencms.lan</font>
<br><font size=3>    ServerAdmin webmaster@alkacon.com </font>
<br><font size=3>    DocumentRoot "C:/Tomcat 8.0/webapps/ROOT/"
</font>
<br><font size=3>    ErrorLog logs/error.log </font>
<br><font size=3>    </font>
<br><font size=3>    # Log only non-redirect requests in "normal"
log file </font>
<br><font size=3>    SetEnvIf Request_URI "\/opencms\/*"
redirect </font>
<br><font size=3>    CustomLog logs/localhost-access.log common
env=!redirect </font>
<br><font size=3>    </font>
<br><font size=3>    ProxyPass  /opencms/  ! </font>
<br><font size=3>    RedirectPermanent /opencms/  </font><a href=http://testopencms.lan/><font size=3>http://testopencms.lan/</font></a>
<br>
<br><font size=3>    RewriteRule .* </font><a href="http://127.0.0.1:8080/opencms/handle404?exporturi=%"><font size=3>http://127.0.0.1:8080/opencms/handle404?exporturi=%</font></a><font size=3>{REQUEST_URI}&%{QUERY_STRING}
[P]</font>
<br>
<br><font size=3>    ProxyPass         /resources/
               !</font>
<br><font size=3>    ProxyPass         /export/
                  !</font>
<br><font size=3>    </font>
<br><font size=3>    ProxyPass         /
                     
  </font><a href=http://127.0.0.1:8080/opencms/><font size=3>http://127.0.0.1:8080/opencms/</font></a><font size=3>
</font>
<br><font size=3>    ProxyPassReverse  /      
                  </font><a href=http://127.0.0.1:8080/opencms/><font size=3>http://127.0.0.1:8080/opencms/</font></a><font size=3>
</font>
<br><font size=3>    </font>
<br><font size=3></VirtualHost></font>
<br>
<br><font size=3><VirtualHost *:80> </font>
<br><font size=3>    <Directory "C:/Tomcat 8.0/webapps/TEST/">
</font>
<br><font size=3>        Order allow,deny </font>
<br><font size=3>        Allow from all </font>
<br><font size=3>    </Directory> </font>
<br><font size=3>    ProxyPreserveHost On</font>
<br><font size=3>    ServerName test.testopencms.lan</font>
<br><font size=3>    ServerAdmin webmaster@alkacon.com </font>
<br><font size=3>    DocumentRoot "C:/Tomcat 8.0/webapps/TEST/"
</font>
<br><font size=3>    ErrorLog logs/error.log </font>
<br><font size=3>    </font>
<br><font size=3>    # Log only non-redirect requests in "normal"
log file </font>
<br><font size=3>    SetEnvIf Request_URI "\/TEST\/*"
redirect </font>
<br><font size=3>    CustomLog logs/localhost-access.log common
env=!redirect </font>
<br><font size=3>    </font>
<br><font size=3>    ProxyPass  /TEST/opencms/  !  
  </font>
<br><font size=3>    RedirectPermanent /TEST/opencms/  http://
test.testopencms.lan/TEST/opencms/</font>
<br>
<br><font size=3>    </font>
<br>
<br><font size=3>    ProxyPass         /TEST/opencms/resources/
               !</font>
<br><font size=3>    ProxyPass         /TEST/opencms/export/
                  !</font>
<br><font size=3>    </font>
<br><font size=3>    ProxyPass         /
                     
  </font><a href=http://127.0.0.1:8081/TEST/opencms/><font size=3>http://127.0.0.1:8081/TEST/opencms/</font></a><font size=3>
</font>
<br><font size=3>    ProxyPassReverse  /      
                  </font><a href=http://127.0.0.1:8081/TEST/opencms/><font size=3>http://127.0.0.1:8081/TEST/opencms/</font></a><font size=3>
</font>
<br><font size=3>    </font>
<br><font size=3></VirtualHost></font>
<br>
<br><font size=2 face="sans-serif"><IfModule mod_proxy_ajp.c></font>
<br><font size=2 face="sans-serif"> <Location "/opencms"></font>
<br><font size=2 face="sans-serif">   Allow from all</font>
<br><font size=2 face="sans-serif">   ProxyPass </font><a href=http://localhost:8080/opencms><font size=2 face="sans-serif">http://localhost:8080/opencms</font></a>
<br><font size=2 face="sans-serif"> </Location></font>
<br><font size=2 face="sans-serif"> <Location "/export"></font>
<br><font size=2 face="sans-serif">    Allow from all</font>
<br><font size=2 face="sans-serif">    ProxyPass </font><a href=http://localhost:8080/export><font size=2 face="sans-serif">http://localhost:8080/export</font></a>
<br><font size=2 face="sans-serif">   </Location></font>
<br><font size=2 face="sans-serif">   <Location "/resources"></font>
<br><font size=2 face="sans-serif">    Allow from all</font>
<br><font size=2 face="sans-serif">    ProxyPass </font><a href=http://localhost:8080/resources><font size=2 face="sans-serif">http://localhost:8080/resources</font></a>
<br><font size=2 face="sans-serif">   </Location></font>
<br><font size=2 face="sans-serif">   <Location "/update"></font>
<br><font size=2 face="sans-serif">    Allow from all</font>
<br><font size=2 face="sans-serif">    ProxyPass </font><a href=http://localhost:8080/resources><font size=2 face="sans-serif">http://localhost:8080/resources</font></a>
<br><font size=2 face="sans-serif">   </Location></font>
<br>
<br><font size=2 face="sans-serif">   <Location "/</font><font size=3>TEST</font><font size=2 face="sans-serif">/opencms"></font>
<br><font size=2 face="sans-serif">   Allow from all</font>
<br><font size=2 face="sans-serif">   ProxyPass </font><a href=http://localhost:8081/><font size=2 face="sans-serif">http://localhost:8081/</font></a><font size=3>TEST</font><font size=2 face="sans-serif">/opencms</font>
<br><font size=2 face="sans-serif"> </Location></font>
<br><font size=2 face="sans-serif"> <Location "/</font><font size=3>TEST</font><font size=2 face="sans-serif">/export"></font>
<br><font size=2 face="sans-serif">    Allow from all</font>
<br><font size=2 face="sans-serif">    ProxyPass </font><a href=http://localhost:8081/><font size=2 face="sans-serif">http://localhost:8081/</font></a><font size=3>TEST</font><font size=2 face="sans-serif">/export</font>
<br><font size=2 face="sans-serif">   </Location></font>
<br><font size=2 face="sans-serif">   <Location "/</font><font size=3>TEST</font><font size=2 face="sans-serif">/resources"></font>
<br><font size=2 face="sans-serif">    Allow from all</font>
<br><font size=2 face="sans-serif">    ProxyPass </font><a href=http://localhost:8081/><font size=2 face="sans-serif">http://localhost:8081/</font></a><font size=3>TEST</font><font size=2 face="sans-serif">/resources</font>
<br><font size=2 face="sans-serif">   </Location></font>
<br><font size=2 face="sans-serif">   <Location "/</font><font size=3>TEST</font><font size=2 face="sans-serif">/update"></font>
<br><font size=2 face="sans-serif">    Allow from all</font>
<br><font size=2 face="sans-serif">    ProxyPass </font><a href=http://localhost:8081/><font size=2 face="sans-serif">http://localhost:8081/</font></a><font size=3>TEST</font><font size=2 face="sans-serif">/resources</font>
<br><font size=2 face="sans-serif">   </Location></font>
<br>
<br><font size=2 face="sans-serif"></IfModule></font>
<br>
<br><font size=2 face="sans-serif">tomcat's server.xml</font>
<br>
<br><font size=2 face="sans-serif"><Connector port="8080"</font>
<br><font size=2 face="sans-serif">           
   maxThreads="150" minSpareThreads="25"
maxSpareThreads="75"</font>
<br><font size=2 face="sans-serif">           
   enableLookups="false" redirectPort="8443"
acceptCount="100"</font>
<br><font size=2 face="sans-serif">           
   proxyName="testopencms.lan" proxyPort="80"</font>
<br><font size=2 face="sans-serif">           
   debug="0" connectionTimeout="20000"</font>
<br><font size=2 face="sans-serif">           
   disableUploadTimeout="true" emptySessionPath="true"/></font>
<br><font size=2 face="sans-serif">    <Connector port="8081"</font>
<br><font size=2 face="sans-serif">           
   maxThreads="150" minSpareThreads="25"
maxSpareThreads="75"</font>
<br><font size=2 face="sans-serif">           
   enableLookups="false" redirectPort="8443"
acceptCount="100"</font>
<br><font size=2 face="sans-serif">           
   proxyName="test.testopencms.lan" proxyPort="80"</font>
<br><font size=2 face="sans-serif">           
   debug="0" connectionTimeout="20000"</font>
<br><font size=2 face="sans-serif">           
   disableUploadTimeout="true" emptySessionPath="true"/>
</font>
<br><font size=2 face="sans-serif">    </font>
<br><font size=2 face="sans-serif">    <!-- Define an AJP
1.3 Connector on port 8009 --></font>
<br><font size=2 face="sans-serif">    <Connector port="8009"
emptySessionPath="true" protocol="AJP/1.3" redirectPort="8443"
/></font>
<br>
<br><font size=2 face="sans-serif">Please friend help me in this regard.</font>
<br>
<br><font size=2 face="sans-serif">Cheers</font>
<br><font size=2 face="sans-serif">Manoj</font>