[opencms-dev] server under 80 and "normal" repository?

Stephan Hartmann hartmann at waehrisch-feykes.de
Tue Nov 6 12:29:32 CET 2001


Am Dienstag,  6. November 2001 11:25 schrieb per media [Wolfgang Nagele]:

> > is there a possiblility to get the tomcat server running under
> http://localhost/index.htm and not as usual
> http://localhost:8080/opencms/opencms/index.htm


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.

>
> would be great :)
>
> thanks much ...
>
>
>
>
> ---------------------------------------------------------------------------
>- ----
>
> Wolfgang Nagele
> Technik - per media
> Tel.: +43 4852 65356 627
> Fax: +43 4852 65356 69
> E-Mail: w.nagele at permedia.at
>
> ---------------------------------------------------------------------------
>- ----
>
> http://www.permedia.at/
> http://www.osttirol-online.at/
>
> ---------------------------------------------------------------------------
>- ----

----------------------------------------
Content-Type: text/html; charset="iso-8859-1"; name="Anhang: 1"
Content-Transfer-Encoding: quoted-printable
Content-Description: 
----------------------------------------



More information about the opencms-dev mailing list