R: [opencms-dev] Change /opencms/opencms URL

Cristian Iobbi cristian.iobbi at skianet.it
Mon Sep 20 16:21:54 CEST 2004


Hi,

the "blank name" of the servlet in any context is a problem, try with
another one.

 

Bye

Cr

 

  _____  

Da: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org]
Per conto di Farnaz Fotrousi
Inviato: domenica 19 settembre 2004 15.28
A: opencms
Oggetto: [opencms-dev] Change /opencms/opencms URL

 

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/20040920/c7b9354e/attachment.htm>


More information about the opencms-dev mailing list