<div dir="ltr">Hi!<div><br></div><div>I use <a href="http://tuckey.org/urlrewrite/">http://tuckey.org/urlrewrite/</a> with tomcat<br></div><div><br></div><div>You just have to set a rule like this to avoid the second opencms, the servlet.</div><div><div><rule></div><div><span class="" style="white-space:pre"> </span><condition type="request-uri" operator="notequal">^/export/.*$</condition></div><div><span class="" style="white-space:pre"> </span><condition type="request-uri" operator="notequal">^/resources/.*$</condition></div><div><span class="" style="white-space:pre">      </span><condition type="request-uri" operator="notequal">^/opencms-errorhandler/.*$</condition></div><div><span class="" style="white-space:pre">   </span><condition type="request-uri" operator="notequal">^/webdav/.*$</condition></div><div><span class="" style="white-space:pre"> </span><condition type="request-uri" operator="notequal">^/opencms/.*$</condition></div><div><span class="" style="white-space:pre">        </span><condition type="request-uri" operator="notequal">^/setup/.*$</condition></div><div>  <from>^/(.*)$</from></div><div>  <to>/opencms/$1</to></div><div></rule></div></div><div><br></div><div>To avoid the first, the web application context (in case is not like jboss), in web.xml change</div><div><div><context-param></div><div>        <param-name>DefaultWebApplication</param-name></div><div>        <param-value>ROOT</param-value></div><div>    </context-param>  </div></div><div><br></div><div>for</div><div><br></div><div><div><context-param></div><div>        <param-name>DefaultWebApplication</param-name></div><div>        <param-value>opencms</param-value></div><div>    </context-param>  </div></div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-18 16:53 GMT-06:00 Roedel, Mark <span dir="ltr"><<a href="mailto:MarkRoedel@letu.edu" target="_blank">MarkRoedel@letu.edu</a>></span>:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">You might get a more directly-applicable answer if you tell what you *are* using.  :)<br>
<br>
(If it happens to be nginx, I can share the setup that I'm currently testing.  Really should document it in the wiki as well, I suppose.)<br>
<span class="im"><br>
<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a> [mailto:<a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a>] On Behalf Of Charles Johnson<br>
Sent: Thursday, December 18, 2014 9:39 AM<br>
To: The OpenCms mailing list<br>
Subject: [opencms-dev] Getting rid of /opencms/opencms<br>
<br>
Googling for the above returns page<br>
<a href="http://www.opencms-wiki.org/wiki/Avoiding_/opencms/opencms_in_the_URL_%28apache_%2B_mod_proxy%29" target="_blank">http://www.opencms-wiki.org/wiki/Avoiding_/opencms/opencms_in_the_URL_%28apache_%2B_mod_proxy%29</a><br>
<br>
Surely there must be another way than getting Apache to rewrite urls?<br>
For one thing, i'm not currently using Apache.<br>
<br>
TIA<br>
</span><div class=""><div class="h5">_______________________________________________<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/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br></div></div></blockquote></div>
</div></div>