[opencms-dev] why the long servlet path, how to change
Bart Elberg
belberg at idealcorp.com
Tue Oct 29 15:24:06 CET 2002
I'm not sure if this will take care of all of the problems, but you can
try setting "url_prefix_http" in opencms.properties to match the new
servlet path. I would be interested to know if you get it working.
Bart Elberg
__________________________________________________
I.D.E.A.L. Technology Corporation - Orlando Office
http://www.idealcorp.com - 407.999.9870 x15
-------------------------
Martin Leja wrote:
>Hi,
>
>i wonder why opencms uses the long servlet path opencms/opencms like in the
>ulr http://www.opencms.org/opencms/opencms/index.html
>
>Can i change the servlet path to opencms only without modifying the opencms
>system to much?
>
>I edited ...\Tomcat 4.1\webapps\opencms\WEB-INF\web.xml and changed the
>lines
><servlet-mapping>
> <servlet-name>OpenCmsServlet</servlet-name>
> <url-pattern>/opencms/*</url-pattern>
></servlet-mapping>
>
>to
><servlet-mapping>
> <servlet-name>OpenCmsServlet</servlet-name>
> <url-pattern>/*</url-pattern>
></servlet-mapping>
>
>but this wasn't enough as some workplace elements seem to stick to the path
>opencms/opencms and therefore wouldn't work correctly, e.g. viewing a page
>by clicking on a html file in the explorer view.
>
>
>
>
More information about the opencms-dev
mailing list