<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
tt
{mso-style-priority:99;
font-family:"Courier New";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=NO-BOK link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>For what it’s worth, here is the setup routine I use – works every time. (Other routines are described on the OpenCms Wiki and elsewhere, and may be better. However, they also tend to be more complex.)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><i><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Note: The how-to assumes a Linux box with the OpenCms webapp home at {TOMCAT_HOME}/webapps/opencms/.<o:p></o:p></span></i></p><p class=MsoNormal><b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></b></p><p class=MsoNormal><b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Step 1. Configure OpenCms<o:p></o:p></span></b></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Add your site to the OpenCms configuration file <b>opencms-system.xml</b>:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'><sites><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'> <workplace-server>http://www.mysite.org</workplace-server><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'> </span><span style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'><default-uri>/sites/default/</default-uri><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'> <shared-folder>/shared/</shared-folder><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'> </span><span style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'><site server="http://www.mysite.org" uri="/sites/default/"/><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'></sites><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><i><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Note: Configuring a dedicated domain name (e.g. cms.mysite.org) for the workplace is recommended, but not done here.<o:p></o:p></span></i></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Open the OpenCms configuration file <b>opencms-importexport.xml</b> and find the staticexport->rendersettings node.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Inside the rendersettings node, change this line:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'><vfs-prefix>${CONTEXT_NAME}${SERVLET_NAME}</vfs-prefix><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>to this:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'><vfs-prefix></vfs-prefix> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Save the file.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Step 2. Configure Tomcat<o:p></o:p></span></b></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>We need to define a connector in Tomcat's configuration. Open the Tomcat configuration file <b>server.xml</b>, and make sure the following connector is defined:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'><Connector port="8009" emptySessionPath="true" enableLookups="false" protocol="AJP/1.3" /><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Save the file and restart Tomcat.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Step 3. Configure Apache<o:p></o:p></span></b></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Open Apache's main configuration file, <b>httpd.conf</b>:</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Apache must load the required modules, so first check and add/uncomment these directives, if necessary:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>LoadModule rewrite_module modules/mod_rewrite.so<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>LoadModule proxy_module modules/mod_proxy.so<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>With those in place, all that remains is defining a virtual host. It is typically added at or near the bottom (modify all paths to fit your actual system):<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'><VirtualHost *:80><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'> DocumentRoot "/usr/local/apache-tomcat-5.5.27/webapps/opencms/"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'> ServerName </span><span style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'><a href="http://www.mysite.org"><span lang=EN-US>www.mysite.org</span></a></span><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'> <Proxy ajp://localhost:8009*><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'> Allow from all<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'> </Proxy><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'> ProxyPass /opencms/ ajp://localhost:8009/opencms/<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'> ProxyPassReverse /opencms/ ajp://localhost:8009/opencms/<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'> ProxyPass / ajp://localhost:8009/opencms/opencms/<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'> ProxyPassReverse / ajp://localhost:8009/opencms/opencms/ <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'></VirtualHost><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Save the file and restart Apache. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>That’s it, you’re done! You should now be able to access your site at <a href="http://www.mysite.org">www.mysite.org</a> and the workplace login at <a href="http://www.mysite.org/system/login">www.mysite.org/system/login</a>.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Cheers,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Paul</span><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <b>On Behalf Of </b>Manoj.Sharma@nevagroup.com<br><b>Sent:</b> 3. november 2014 06:06<br><b>To:</b> opencms-dev@opencms.org<br><b>Subject:</b> [opencms-dev] Configuring OPENCMS on apache front server and tomact as backend.<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Hi All,</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> I have a website which in develop in OponCms 9.x, i have configure that website on apache as front server and tomcat as backend. the website working perfectly but the issue is when i perform redirect operation on site like when user submit feedback and then i redirect user to another thank you page or logout from site then website URL will get modified as IP address and (:) colon removed from the URL and website no longer available. I'll get the the message in browser "The web page is not available." Example : </span><br><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I enter URL in google chrom as mywebsite.com and login into the website as admin, then i logout from site then the url change to http// 123.11.23.23/system/login not to mywebsite.com/system/login.</span> <br><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>i am not able to under stand why this is happing, it just a issue in redirect whenever redirect operation perform then url will modify automatically. I am sure there is something that i ahve missed in configuration, but question i what ? i am putting my configuration that i have done on server please look into and let me know the issue.</span> <br><br><span style='font-size:10.0pt'>opencms-system.xm</span>l <br><br><tt><span style='font-size:10.0pt'> <sites></span></tt> <br><tt><span style='font-size:10.0pt'> <workplace-server></span></tt><a href="http://www.mywebsite.in/"><tt><span style='font-size:10.0pt'>http://www.mywebsite.in</span></tt></a><tt><span style='font-size:10.0pt'></workplace-server></span></tt> <br><tt><span style='font-size:10.0pt'> <default-uri>/sites/default/</default-uri></span></tt> <br><tt><span style='font-size:10.0pt'> <shared-folder>/shared/</shared-folder></span></tt> <br><tt><span style='font-size:10.0pt'> <site server="</span></tt><a href="http://www.mywebsite.in/"><tt><span style='font-size:10.0pt'>http://www.mywebsite.in</span></tt></a><tt><span style='font-size:10.0pt'>" uri="/sites/default/" title="" position="3.4028235E38" webserver="true"/></span></tt> <br><tt><span style='font-size:10.0pt'> </sites></span></tt> <br><br><span style='font-size:10.0pt'>opencms-importexport.xml</span> <br><tt><span style='font-size:10.0pt'> <rendersettings></span></tt> <br><tt><span style='font-size:10.0pt'> <rfs-prefix>${CONTEXT_NAME}/export</rfs-prefix></span></tt> <br><tt><span style='font-size:10.0pt'> <vfs-prefix>${CONTEXT_NAME}</vfs-prefix></span></tt> <br><tt><span style='font-size:10.0pt'> <userelativelinks>false</userelativelinks></span></tt> <br><tt><span style='font-size:10.0pt'> <exporturl></span></tt><a href="http://127.0.0.1:8080$/"><tt><span style='font-size:10.0pt'>http://127.0.0.1:8080$</span></tt></a><tt><span style='font-size:10.0pt'>{CONTEXT_NAME}/handle404</exporturl></span></tt> <br><tt><span style='font-size:10.0pt'> <plainoptimization>true</plainoptimization></span></tt> <br><tt><span style='font-size:10.0pt'> <testresource uri="/system/shared/page.dtd" /></span></tt> <br><tt><span style='font-size:10.0pt'> <resourcestorender></span></tt> <br><tt><span style='font-size:10.0pt'> <regex>/sites/.*</regex></span></tt> <br><tt><span style='font-size:10.0pt'> <regex>/system/workplace/commons/style/.*</regex></span></tt> <br><tt><span style='font-size:10.0pt'> <regex>/system/galleries/.*</regex></span></tt> <br><tt><span style='font-size:10.0pt'> <regex>/system/modules/.*/resources/.*</regex></span></tt> <br><tt><span style='font-size:10.0pt'> </resourcestorender></span></tt> <br><tt><span style='font-size:10.0pt'> </rendersettings></span></tt> <br><tt><span style='font-size:10.0pt'>server.xml</span></tt> <br><tt><span style='font-size:10.0pt'><?xml version="1.0" encoding="utf-8"?></span></tt> <br><tt><span style='font-size:10.0pt'><Server port="8005" shutdown="SHUTDOWN" debug="0"></span></tt> <br><tt><span style='font-size:10.0pt'> <Service name="Tomcat-Standalone"></span></tt> <br><tt><span style='font-size:10.0pt'> <!-- Define a connector for the "public visible" server name --></span></tt> <br><tt><span style='font-size:10.0pt'> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8080" minProcessors="5" maxProcessors="75" proxyName="</span></tt><a href="http://123.114.23.42/"><tt><span style='font-size:10.0pt'>http://123.114.23.42</span></tt></a><tt><span style='font-size:10.0pt'>" proxyPort="80" useBodyEncodingForURI="true" enableLookups="true" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" useURIValidationHack="false" disableUploadTimeout="true"/></span></tt> <br><tt><span style='font-size:10.0pt'> <Engine name="Standalone" defaultHost="localhost" debug="0"></span></tt> <br><tt><span style='font-size:10.0pt'> <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="true"></span></tt> <br><tt><span style='font-size:10.0pt'> <!-- You can change "unpackWARs" and "autoDeploy" to false after the installation is finished --></span></tt> <br><tt><span style='font-size:10.0pt'> <Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="localhost_log." suffix=".txt" timestamp="true"/></span></tt> <br><tt><span style='font-size:10.0pt'> </Host></span></tt> <br><tt><span style='font-size:10.0pt'> </Engine></span></tt> <br><tt><span style='font-size:10.0pt'> </Service></span></tt> <br><tt><span style='font-size:10.0pt'> <Service debug="0" name="PSA"></span></tt> <br><tt><span style='font-size:10.0pt'> <Connector port="9008" enableLookups="true" protocol="AJP/1.3"/></span></tt> <br><tt><span style='font-size:10.0pt'> <Connector port="9080" maxThreads="15" minSpareThreads="5" maxSpareThreads="75" enableLookups="true" acceptCount="10" connectionTimeout="20000" disableUploadTimeout="true"/></span></tt> <br><tt><span style='font-size:10.0pt'> <Engine name="PSA" defaultHost="localhost"/></span></tt> <br><tt><span style='font-size:10.0pt'> </Service></span></tt> <br><tt><span style='font-size:10.0pt'></Server></span></tt> <br><br><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>httpd.conf</span> <br><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>#</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'># Dynamic Shared Object (DSO) Support</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>#</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'># To be able to use the functionality of a module which was built as a DSO you</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'># have to place corresponding `LoadModule' lines at this location so the</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'># directives contained in it are actually available _before_ they are used.</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'># Statically compiled modules (those listed by `httpd -l') do not need</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'># to be loaded here.</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>#</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'># Example:</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'># LoadModule foo_module modules/mod_foo.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>#</span> <br><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule auth_basic_module modules/mod_auth_basic.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule auth_digest_module modules/mod_auth_digest.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule authn_file_module modules/mod_authn_file.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule authn_alias_module modules/mod_authn_alias.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule authn_anon_module modules/mod_authn_anon.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule authn_dbm_module modules/mod_authn_dbm.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule authn_default_module modules/mod_authn_default.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule authz_host_module modules/mod_authz_host.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule authz_user_module modules/mod_authz_user.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule authz_owner_module modules/mod_authz_owner.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule authz_groupfile_module modules/mod_authz_groupfile.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule authz_dbm_module modules/mod_authz_dbm.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule authz_default_module modules/mod_authz_default.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule ldap_module modules/mod_ldap.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule authnz_ldap_module modules/mod_authnz_ldap.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule include_module modules/mod_include.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule log_config_module modules/mod_log_config.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule logio_module modules/mod_logio.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule env_module modules/mod_env.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule ext_filter_module modules/mod_ext_filter.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule mime_magic_module modules/mod_mime_magic.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule expires_module modules/mod_expires.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule deflate_module modules/mod_deflate.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule headers_module modules/mod_headers.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule usertrack_module modules/mod_usertrack.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule setenvif_module modules/mod_setenvif.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule mime_module modules/mod_mime.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule dav_module modules/mod_dav.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule status_module modules/mod_status.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule autoindex_module modules/mod_autoindex.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule info_module modules/mod_info.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule dav_fs_module modules/mod_dav_fs.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule vhost_alias_module modules/mod_vhost_alias.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule negotiation_module modules/mod_negotiation.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule dir_module modules/mod_dir.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule actions_module modules/mod_actions.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule speling_module modules/mod_speling.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule userdir_module modules/mod_userdir.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule alias_module modules/mod_alias.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule substitute_module modules/mod_substitute.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule rewrite_module modules/mod_rewrite.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule proxy_module modules/mod_proxy.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule proxy_balancer_module modules/mod_proxy_balancer.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule proxy_ftp_module modules/mod_proxy_ftp.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule proxy_http_module modules/mod_proxy_http.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule proxy_ajp_module modules/mod_proxy_ajp.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule proxy_connect_module modules/mod_proxy_connect.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule cache_module modules/mod_cache.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule suexec_module modules/mod_suexec.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule disk_cache_module modules/mod_disk_cache.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule cgi_module modules/mod_cgi.so</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>LoadModule version_module modules/mod_version.so</span> <br><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>..... some more comments and configurations there then </span><br><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><VirtualHost *:80></span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> <Directory "${TOMCAT_HOME}/webapps/ROOT/"></span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> Order allow,deny</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> Allow from all</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> </Directory> </span><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> ServerName ${DOMAIN_NAME}</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> ServerAdmin <a href="mailto:webmaster@alkacon.com">webmaster@alkacon.com</a></span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> DocumentRoot "/usr/share/tomcat6/webapps/ROOT/"</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> ErrorLog logs/error.log</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> </span><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> # Log only non-redirect requests in "normal" log file</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> SetEnvIf Request_URI "\/opencms\/*" redirect</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> CustomLog logs/localhost-access.log common env=!redirect</span> <br><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> ProxyPass /opencms/ !</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> RedirectPermanent /opencms/ </span><a href="http://$/"><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>http://$</span></a><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>{DOMAIN_NAME}/</span> <br><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> ProxyPass /resources/ !</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> ProxyPass /export/ !</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> </span><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> ProxyPass / </span><a href="http://localhost:8080/opencms/"><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>http://localhost:8080/opencms/</span></a> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> ProxyPassReverse / </span><a href="http://localhost:8080/opencms/"><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>http://localhost:8080/opencms/</span></a> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> </span><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'></VirtualHost></span> <br><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><VirtualHost *:8080></span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> <Directory "${TOMCAT_HOME}/webapps/test/"></span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> Order allow,deny</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> Allow from all</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> </Directory> </span><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> ServerName ${DOMAIN_NAME}</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> ServerAdmin <a href="mailto:webmaster@alkacon.com">webmaster@alkacon.com</a></span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> DocumentRoot "${TOMCAT_HOME}/webapps/wewebsite/"</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> ErrorLog logs/error.log</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> </span><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> # Log only non-redirect requests in "normal" log file</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> SetEnvIf Request_URI "\/wewebsite\/*" redirect</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> CustomLog logs/localhost-access.log common env=!redirect</span> <br><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> ProxyPass /wewebsite/ !</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> RedirectPermanent /wewebsite/ </span><a href="http://$/"><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>http://$</span></a><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>{DOMAIN_NAME}/</span> <br><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> </span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> #ProxyPass / </span><a href="http://localhost:8080/wewebsite/"><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>http://localhost:8080/wewebsite/</span></a> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> #ProxyPassReverse / </span><a href="http://localhost:8080/wewebsite/"><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>http://localhost:8080/wewebsite/</span></a> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'></VirtualHost></span> <br><br><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>i have fond these configuration from </span><a href="http://www.opencms-wiki.org/wiki/Avoiding_/opencms/opencms_in_the_URL_(apache_%2B_mod_proxy)"><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>http://www.opencms-wiki.org/wiki/Avoiding_/opencms/opencms_in_the_URL_(apache_%2B_mod_proxy)</span></a> <br><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Please friends help me. and thanks paul for your last reply to my question.</span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> </span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Manoj Kumar Sharma</span> <br><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>9718729491</span><o:p></o:p></p></div></body></html>