<div>
<div>Hi,</div>
<div>I used mod_rewrite to do this befor,but it coused a browser redirect.So, I write a filter to do the work instead.</div>
<div> </div>
<div>Here is my solution to remove 'opencms/opencms' from url, 3 steps.</div>
<div>1¡¢deploy opencms as ROOT webapp</div>
<div>2¡¢mapping my filter in web.xml</div>
<div><filter></div>
<div><filter-name>UriRewriteFilter</filter-name></div>
<div><filter-class>com.dcampus.opencms.web.UriRewriteFilter</filter-class></div>
<div><init-param></div>
<div><param-name>ignore-uri</param-name></div>
<div><param-value>/opencms/,</div>
<div>/resources/,</div>
<div>/export/,</div>
<div>/setup/,</div>
<div>/update/,</div>
<div>/webdav/,</div>
<div>/opencms-errorhandler/</param-value></div>
<div></init-param> </div>
<div><init-param></div>
<div><param-name>prefix</param-name></div>
<div><param-value>/opencms</param-value></div>
<div></init-param></div>
<div></filter></div>
<div><filter-mapping></div>
<div><filter-name>UriRewriteFilter</filter-name></div>
<div><url-pattern>/*</url-pattern></div>
<div></filter-mapping></div>
<div>3¡¢change contex parameter “OpenCmsServlet” from “/opencms/*” to "/*"</div>
<div> </div>
<div>If you have more uri to excluded from VFS, add it to the "ignore-uri" parameter.</div>
<div> </div>
<div>P.S.,Thanks to the opencms team, you have done a great job.</div></div>
<div><br><br> </div>
<div class="gmail_quote">2011/6/17 Deiverson Silveira <span dir="ltr"><<a href="mailto:deiverson@solutioncms.com">deiverson@solutioncms.com</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>Hi Alejandro,</div>
<div><br></div>
<div>Proxy Pass:</div><a href="http://www.sebastian.himberger.de/blog/2009/03/11/opencms-apache-integration-the-simplest-solution/" target="_blank">http://www.sebastian.himberger.de/blog/2009/03/11/opencms-apache-integration-the-simplest-solution/</a><br>
<br>
<div>(You dont need use ajp, you can use redirect for http)</div>
<div>
<div><br>
<div>Mod_JK and Rewrite:</div>
<div><a href="http://www.sebastian.himberger.de/comp/tutorials/opencms/apache-integration/" target="_blank">http://www.sebastian.himberger.de/comp/tutorials/opencms/apache-integration/</a></div>
<div><br></div>
<div>Regards,</div>
<div><br></div>
<div>Deiverson Silveira</div>
<div><br>
<div class="gmail_quote">
<div>
<div></div>
<div class="h5">2011/6/17 Alejandro Garc¨ªa Gil <span dir="ltr"><<a href="mailto:alejandro.garcia.gil@gmail.com" target="_blank">alejandro.garcia.gil@gmail.com</a>></span><br></div></div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div class="h5">Hi,<br><br><span lang="en"><span title="Haz clic
para obtener otras posibles traducciones">I would like to</span> <span title="Haz clic para obtener otras posibles traducciones">eliminate 'opencms/opencms</span><span title="Haz clic para obtener
otras posibles traducciones"> in the</span> <span title="Haz clic para obtener otras posibles traducciones">url of my website</span></span><br><br><span lang="en"><span title="Haz clic para
obtener otras posibles traducciones">I've seen</span> <span title="Haz clic para obtener otras posibles traducciones">different</span> <span title="Haz clic para obtener otras posibles traducciones">methods</span> <span title="Haz clic para obtener otras
posibles traducciones">but they do</span> <span title="Haz
clic para obtener otras posibles traducciones">not</span> <span title="Haz clic para obtener otras posibles traducciones">see</span> <span title="Haz clic para obtener otras posibles traducciones">correctly</span> <span title="Haz clic para obtener otras
posibles traducciones">the area</span> <span title="Haz clic
para obtener otras posibles traducciones">of administration</span></span><br><br>I have opencms 7.5.2<br><br><br></div></div>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br></blockquote>
</div><br><br clear="all"><br>-- <br><i>
<div><span style="FONT-STYLE: normal"><i>
<div><span style="FONT-STYLE: normal"><i>
<div style="DISPLAY: inline !important"><span style="FONT-STYLE: normal"><i><a href="http://www.solutioncms.com/" target="_blank">www.solutioncms.com</a></i></span></div></i></span></div>
<div><span style="FONT-STYLE: normal"><i><span style="FONT-STYLE: normal"><i>
<div><span style="FONT-STYLE: normal"><i>
<div style="DISPLAY: inline !important"><span style="FONT-STYLE: normal"><i><span style="FONT-STYLE: normal"><i>
<div style="DISPLAY: inline !important"><i>The Brazilian </i><span style="FONT-STYLE: normal"><i>
<div style="DISPLAY: inline !important"><span style="FONT-STYLE: normal"><i><span style="FONT-STYLE: normal"><i>
<div style="DISPLAY: inline !important"><i>Official Provider OpenCms</i></div></i></span></i></span></div></i></span></div></i></span></i></span></div></i></span></div></i></span></i></span></div></i></span></div></i><br>
</div></div></div><br><br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit<br><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</blockquote></div><br>