<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>Proxy Problems</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I have the following configuration setup in my apache httpd.conf (this change is to remove the /opencms/opencms/ from the URL).</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Everything works fine except one problem and i.e. if I uncomment the ProxyPass from the configuration as shown below it removes the opencms from the URL but then the Login doesn't work. But with the current configuration the Login works but opencms is still part of the URL.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">I am using Apache 2.0, Tomcat 5.0 and OpenCMS 6.0 apha 2</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Any inputs would be highly appreciated</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> <VirtualHost </FONT><A HREF="file://www.alkakon.net"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">www.alkakon.net</FONT></U></A><FONT SIZE=2 FACE="Arial">></FONT>
<BR><FONT SIZE=2 FACE="Arial"> ServerName </FONT><A HREF="file://www.alkakon.net"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">www.alkakon.net</FONT></U></A>
</P>
<P><FONT SIZE=2 FACE="Arial"> DocumentRoot "C:/tomcat50/webapps/"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> ErrorLog logs/error.log</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial"> SetEnvIf Request_URI "\/opencms\/*" redirect</FONT>
<BR><FONT SIZE=2 FACE="Arial"> CustomLog logs/localhost-access.log common env=!redirect</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> #ProxyPass /opencms/ ! <=== uncommenting this line removes the opencms from the URL but then the login does not work</FONT></P>
<P><FONT SIZE=2 FACE="Arial"> RedirectPermanent /opencms/ </FONT><A HREF="http://www.alkakon.net/"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://www.alkakon.net/</FONT></U></A>
</P>
<P><FONT SIZE=2 FACE="Arial"> ProxyPass /resources/ </FONT><A HREF="http://127.0.0.1:8082/resources/"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://127.0.0.1:8082/resources/</FONT></U></A>
<BR><FONT SIZE=2 FACE="Arial"> ProxyPass /export/ </FONT><A HREF="http://127.0.0.1:8082/export/"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://127.0.0.1:8082/export/</FONT></U></A>
<BR><FONT SIZE=2 FACE="Arial"> ProxyPass /opencms/ </FONT><A HREF="http://127.0.0.1:8082/opencms/"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://127.0.0.1:8082/opencms/</FONT></U></A>
</P>
<P><FONT SIZE=2 FACE="Arial"> ProxyPass / </FONT><A HREF="http://127.0.0.1:8082/opencms/"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://127.0.0.1:8082/opencms/</FONT></U></A>
<BR><FONT SIZE=2 FACE="Arial"> ProxyPassReverse / </FONT><A HREF="http://127.0.0.1:8082/opencms/"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://127.0.0.1:8082/opencms/</FONT></U></A>
</P>
<P><FONT SIZE=2 FACE="Arial"> </VirtualHost></FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Regards,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Oliver</FONT>
</P>
</BODY>
</HTML>