[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] Virtual site port



Paul Schreiber wrote:

--- Ricardo Mendes <ricardomendes@xxxxxx> wrote:
> How can i configure a Raq3 virtual site to listen to port 8080 instead of > port 80 by default ? > > I would like to configure just one virtual site to listen to port 8080 and > maintain all the others on port 80.

You have to edit httpd.conf; you need to add a line:
Listen 8080

Then you need to find the <VirtualHost> section for the site you want to run
on 8080. Change it from:
   <VirtualHost X.X.X.X>
to:
   <VirtualHost X.X.X.X:8080>

and restart apache.


I'm not positive on the following, but you might prefer to look up the line
Listen 80
and add 8080 there, instead of adding a "Listen" line on its own:
Listen 80, 8080

Just because I'm not sure if Apache 1.3.3 allows multiple "Listen" lines (I believe 1.3.9 does allow this feature)