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

Re: [cobalt-users] Changing web server port



"Group IT Associates" <team@xxxxxxxxxxxx> wrote:
> Does anyone know how to change the webserver / website configuration on a
> RAQ4 to serve web requests on any other port than port 80 - such as port
> 1080 for instance.

In httpd.conf find the following line:

Listen 80

Below it, add:
Listen 1080

Now Apache will listen for requests on port 1080 *and* port 80.  If you want
to disable listening on port 80, delete the originial line.

To listen to both port 1080 and port 80 copy an existing <VirtualHost> block
in httpd.conf, change the first line to the following format and replace all
instances of "80" with "1080".  If you want to listen to port 1080, but not
port 80, replace the existing <VirtualHost> container instead of deleting
it.

<VirtualHost ip_here:1080>

If you want this to happen automagically when you create a site, you'll have
to hack some of Cobalt's scripts; however, I don't know which scripts
offhand.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/