<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman";}
span.StileMessaggioDiPostaElettronica18
{mso-style-type:personal-reply;
font-family:Verdana;
color:navy;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=IT link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;color:navy'>Hi,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;color:navy'>the “blank name”
of the servlet in any context is a problem, try with another one…<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;color:navy'>Bye<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;color:navy'>Cr<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;color:navy'><o:p> </o:p></span></font></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>Da:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <b><span style='font-weight:bold'>Per
conto di </span></b>Farnaz Fotrousi<br>
<b><span style='font-weight:bold'>Inviato:</span></b> domenica 19 settembre
2004 15.28<br>
<b><span style='font-weight:bold'>A:</span></b> opencms<br>
<b><span style='font-weight:bold'>Oggetto:</span></b> [opencms-dev] Change
/opencms/opencms URL</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hi,<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I would like to change /opencms/opencms/index.html url to
/index.html. So I did the following steps:<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>1- In web.xml, change <url-pattern>/opencms/*</url-pattern>
to <url-pattern>/*</url-pattern><br>
2-Then change following value in opencms.properties: <br>
url_prefix_http=/${WEB_APP_NAME}/opencms change it to blank value <br>
url_prefix_http=<br>
3- add <Context path="" docBase="opencms"
debug="0"/><br>
<Context path="/resources"
docBase="opencms/resources" debug="0"/><br>
to server.xml<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
After applying those changes, I can successfully login to openccms with
servername/system/login url. <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
But I have problem when I try to open pages with template. I get the following
error:<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>[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<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
How can I solve this problem?<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Is there another way for removing /opencms/opencms/ from url?<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Regards,<br>
Farnaz<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=1 width="100%" align=center>
</span></font></div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Do you Yahoo!?<br>
<a href="http://vote.yahoo.com">vote.yahoo.com</a> - Register online to vote
today!<o:p></o:p></span></font></p>
</div>
</div>
</body>
</html>