cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anders Conrad" ...@dsl.dk>
Subject Re: redirect to port 80
Date Tue, 03 Jul 2001 08:39:32 GMT
I understand that you want your web-server that is serving Cocoon to listen
on port 80. I also assume that you are currently using Tomcat as a web
listener on its default port 8080.

Given that, you can either keep using Tomcat as a web listener and change
the port number in the configuration file tomcat/conf/server.xml where you
have some lines like

        <Connector className="org.apache.tomcat.service.PoolTcpConnector">
            <Parameter name="handler"

value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
            <Parameter name="port"
                value="8080"/>

Change the value from 8080 to 80.

Or - as someone else suggested - use the Apache web server to serve Cocoon
on its default port 80. This is supposedly the better solution for a
production environment. In this case you will have to install and configure
mod_jk as a link between Apache and Tomcat. There are a number of files to
review to get this right, such as Apache's httpd.conf to include mod_jk, you
have to create a configuration file for mod_jk (such as the example
cocoon/conf/mod_jk_cocoon.conf or tomcat/conf/mod_jk.conf_auto) and include
it in httpd.conf, and you have to adjust things in
tomcat/conf/workers.properties.

I hope I got it right! I just managed to get it to work myself.

Anders
----- Original Message -----
From: "Pierre-Henry Perret" <php@neteclair.fr>
To: <cocoon-users@xml.apache.org>
Sent: Monday, July 02, 2001 11:13 AM
Subject: redirect to port 80


> Bonjour,
>
> I have installed cocoon and made it serving corretly xml pages, well
> it's nice!
>
> I would like to register my site as a cocoon user but i can't serve on
> other
> port than 8080 (e.g i must give an address as
> 'http://localhost:8080/cocoon..') - all other network stuff working
> correctly
> , i mean DNS - i don't have to do this with tomcat jserv because i can
> directly see a working servlet as in
> 'http://localhost/servlets/examples...'
>
> i guess no idea to manage this,
>
> Pierre-Henry Perret
> Cocoon user
> StDenis, France
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message