[opencms-dev] change path to published project

Massimiliano Alessandri m.alessandri at tiscalinet.it
Thu Nov 22 18:27:53 CET 2001


Answering to Birger Fuehne question about publishing on the root folder, 
this is an old message published on this forum.
This technique doesn't use Apache htdocs folder.  If you want to have a 
filesystem mirror of the VFS try the synchronization tool.

All here is for Tomcat 4.0

>in the <tomcat-home>/conf/server.xml
>
>change the following lines:
>
>     <Connector className="org.apache.catalina.connector.http.HttpConnector"
>                port="8080" minProcessors="5" maxProcessors="75"
>into
>     <Connector className="org.apache.catalina.connector.http.HttpConnector"
>                port="80" minProcessors="5" maxProcessors="75"
>
>and
>      <!--
>           <Context path="" docBase="ROOT" debug="0"/>
>      -->
>into
>
>           <Context path="" docBase="opencms" debug="0"/>
>
>note that the xml comment start and end lines have been deleted!
>
>in <tomcat-home>/webapps/opencms/WEB-INF/web.xml add this
>
>
>     <servlet-mapping>
>       <servlet-name>OpenCmsServlet</servlet-name>
>       <url-pattern>/*</url-pattern>
>     </servlet-mapping>
>
>before
>
>
>     <servlet-mapping>
>       <servlet-name>OpenCmsServlet</servlet-name>
>       <url-pattern>/opencms/*</url-pattern>
>     </servlet-mapping>
>
>
>thats all.




More information about the opencms-dev mailing list