[opencms-dev] Rename opencms servlet to /

Yves Glodt yg at mind.lu
Wed Jul 15 15:47:48 CEST 2009


On Wednesday 15 July 2009 15:21:21 Yves Glodt wrote:
> Hello,
>
> I have a situation where Tomcat6/win64 is in a DMZ behind an Microsoft ISA,
> and I can not use a front-apache httpd. I use opencms 7.5-jpa with Firebird
> 2.1.
>
> Now the old story: I need to remove the /opencms/opencms prefix.
> The first one I got rid of by installing as ROOT,war
>
> I managed to rename the second /opencms to /web, and it works as well.
> But as soon as I name it / I get 404 errors.

Sorry to self-reply so fast, the error is not 404 but an empty page, if I e.g. 
request /index.jsp (which exists in the default site)

So, index.jsp is somehow found, but the content is somehow not delivered...

Specifying /index2.jsp gives a (legitimate) 404.

> What I did is:
> 1. Changed the <context-param> called "OpenCmsServlet" from "/opencms/*" to
> "/*" 2. Changed the <servlet-mapping> for "OpenCmsServlet" from
> "/opencms/*" to "/*" and nothing else. opencms-importexport was not
> touched.
>
>
> Are there some special steps to take to rename the opencms-servlet?
>
>
> Thanks in advance and best regards,
> Yves



More information about the opencms-dev mailing list