[opencms-dev] Change /opencms/opencms URL

Farnaz Fotrousi f_fotrousi at yahoo.com
Sun Sep 19 15:28:23 CEST 2004


Hi,
 
I would like to change /opencms/opencms/index.html url to /index.html. So I did the following steps:
1- In web.xml, change <url-pattern>/opencms/*</url-pattern> to <url-pattern>/*</url-pattern>
2-Then change following value in opencms.properties: 
url_prefix_http=/${WEB_APP_NAME}/opencms change it to blank value 
url_prefix_http=
3- add <Context path="" docBase="opencms" debug="0"/>
       <Context path="/resources" docBase="opencms/resources" debug="0"/>
to server.xml

After applying those changes, I can successfully login to openccms with servername/system/login url. 

But I have problem when I try to open pages with template. I get the following error:
 
[jsptemplate] ??? com.opencms.core.CmsException: 0 Unknown exception. Detailed error: [CmsJspTemplate] Error while reading JSP /system/modules/MFA/jsptemplates/MFA_Default.jsp com.opencms.core.CmsException: 28 Error while launching template class. Detailed error: Error in CmsJspLoader.loadTemplate() while loading /system/modules/MFA/jsptemplates/MFA_Default.jsp javax.servlet.ServletException: FlexDispatcher: Dectected inclusion loop for target /system/modules/MFA/jsptemplates/MFA_Default.jsp. root cause was javax.servlet.ServletException: FlexDispatcher: Dectected inclusion loop for target /system/modules/MFA/jsptemplates/MFA_Default.jsp. root cause was com.opencms.core.CmsException: 28 Error while launching template class. Detailed error: Error in CmsJspLoader.loadTemplate() while loading /system/modules/MFA/jsptemplates/MFA_Default.jsp javax.servlet.ServletException: FlexDispatcher: Dectected inclusion loop for target /system/modules/MFA/jsptemplates/MFA_Default.jsp. root cause was
 javax.servlet.ServletException: FlexDispatcher: Dectected inclusion loop for target /system/modules/MFA/jsptemplates/MFA_Default.jsp

How can I solve this problem?
Is there another way for removing /opencms/opencms/ from url?
 
Regards,
Farnaz
 

		
---------------------------------
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040919/1674183b/attachment.htm>


More information about the opencms-dev mailing list