[opencms-dev] Definitive guide to get rid of opencms/opencms in the url
Brian Sweeting
sweeting at infowest.com
Thu Jul 17 05:33:01 CEST 2003
Sorry to have to bring this up again, but I posted a question on July 10
about getting rid of the "opencms/opencms" from the url and still have
not been able to resolve my problem. I was directed to the PDF located
at http://opencms.al-arenal.de/ but following all it's directions very
closely, I am still unable to open any of my site pages without getting
the error:
javax.servlet.ServletException: FlexDispatcher: Dectected inclusion loop
for target /index.jsp
at
com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:186)
....
Is there anyone who has followed the directions in the PDF and had it work?
I am using OpenCMS 5.0 and Tomcat 4.1.24.
Thanks,
Brian
Brian Sweeting wrote:
> First of all...thank you for your help.
>
> I followed all the instructions in the PDF doc...
>
> *** web.xml ***
> Changed
> <url-pattern>/opencms/*</url-pattern>
> to
> <url-pattern>/*</url-pattern>
>
> *** opencms.properties ***
> Changed
> url_prefix_http=/${WEB_APP_NAME}/opencms
> to
> url_prefix_http=
>
> *** server.xml ***
> Added the context
> <Context path="" docBase="opencms" debug="0"/>
>
> *** registry.xml ***
> Changed
> <UseWpPicturesFromVFS>false</UseWpPicturesFromVFS>
> to
> <UseWpPicturesFromVFS>true</UseWpPicturesFromVFS>
>
> Note: I decided to leave out the configuration of
> Apache/mod_jk2/Tomcat and I'm going directly through tomcat.
>
> After completing these steps I can go to
> http://localhost:8080/system/login and I can login and everything
> looks correct in the workplace. But when I try to access a file, for
> instance index.jsp in the root of the VFS,
> (http://localhost:8080/index.jsp) I get the error:
>
> javax.servlet.ServletException: FlexDispatcher: Dectected inclusion
> loop for target /index.jsp
> at
> com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:186)
>
> ....
>
> This happens when I try to access any file whether it is a regular
> page (.html) or jsp.
>
> Brian
More information about the opencms-dev
mailing list