To remove Port 8080 You need a webserver, i.e. Apache
Use the mod-Webapp-Module there (see Tomcat-Documentation)

To modify the paths, see text attached (form OpenCMS-Mailing-list, an open
source CMS-System www.opencms.org)
=================================0
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
> E-Mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------------
>- ----
>
> <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: 
----------------------------------------

=======================================================================0


> -----Urspr�ngliche Nachricht-----
> Von:  Rudi Doku [SMTP:[EMAIL PROTECTED]]
> Gesendet am:  Montag, 25. Februar 2002 19:37
> An:   [EMAIL PROTECTED]
> Betreff:      Ho can I make my URL shorter?
> 
> Hello,
> 
> I have a URL which is too long. I would appreciate it of someone could
> help 
> me with the following queries:
> 
> 1. Is it possible to confugure the application so I can remove the port 
> "8080" from the URL?
> 
> 2. Can I declare an alias for com.docutech.viewer.web.LoginAction so I
> don't 
> have to display the entire package? The action for my form is 
> "servlet/com.docutech.viewer.web.LoginAction"
> 
> The following is displayed when i post my login page, login.jsp :
> 
> http://127.0.0.1:8080/docusoft/servlet/com.docutech.viewer.web.LoginAction
> .
> 
> 
> 
> Kind Regards,
> 
> Rudi Doku
> 
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at
> http://explorer.msn.com/intl.asp.
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to