[opencms-dev] Remove one opencms from url

Siegfried Ehret s.ehret at eurelis.com
Tue Aug 23 15:35:54 CEST 2011


Hi,

I use Tomcat and I had to change the value of the docBase.
Example : 
<Host name="www.myhost.com" appBase="C:/opencms-project">
  <Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="test." siffix=".log" timestamp="true"/>
  <Context path="" docBase="opencms" debug="0"/>
  <Context path="/manager" docBase="C:/dev/java/jakarta-Tomcat 5.0.30/server/webapps/manager" debug="0" privileged="true"/>
</Host>

Then, change the DefaultWebApplication from ROOT to opencms in /WEB-INF/web.xml
Example :
<context-param>
  <param-name>DefaultWebApplication</param-name>
  <param-value>opencms</param-value>
</context-param>

Hope this help.

Siegfried Ehret


-----Message d'origine-----
De : opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] De la part de Faisal Irfan
Envoyé : mardi 23 août 2011 15:43
À : LIST opencms
Objet : [opencms-dev] Remove one opencms from url

Hello!
    friends I am working with OpenCms 8 and have to remove one opencms from url (we will keep one), but can not deploy OpenCms as root app, any tips?



-- 
Regards

Faisal Irfan

JABS SOLUTIONS, Pakistan

Direct +92-312-5362438 

E-Mail:  faisalirfan at jabssolutions.com


_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list