Stevehewitt
IS-IT--Management
Hi Guys,
Sorry, brand new to Apache (normally manage IIS). Running Apache 2.2.6 (Win32) on a box that already has IIS 6 installed and running. Number of sites on IIS - some are bound to a dedicated IP, whilst others use any IP that's unassigned as they use various ports, but never 80. (e.g. all IIS sites that use port 80 have a dedicated interface to run through)
Apache works fine out of the box, however the default config is to use any interface and to use port 8090. I've created a dedicated IP on this server just for this Apache site that I want to host, and changed my httpd.conf to this:
ServerRoot "S:/SVN/"
ServerName "subversion.domain.com"
ServerSignature Off
ServerTokens Prod
DocumentRoot "htdocs"
Listen 10.3.1.91:8091
This all works fine, with everything working nicely. However I want to set the server to use just that one interface, but on port 80. It's a new IP so nothing else should be using it.
If I change the Listen statement to:
Listen 10.3.1.91:80
The Apache service fails to start. I've also tried using this:
BindAddress 10.3.1.91
Listen 80
But so far no luck.
Can anyone point me in the right direction?
Thanks,
Steve.
"They have the internet on computers now!" - Homer Simpson
Sorry, brand new to Apache (normally manage IIS). Running Apache 2.2.6 (Win32) on a box that already has IIS 6 installed and running. Number of sites on IIS - some are bound to a dedicated IP, whilst others use any IP that's unassigned as they use various ports, but never 80. (e.g. all IIS sites that use port 80 have a dedicated interface to run through)
Apache works fine out of the box, however the default config is to use any interface and to use port 8090. I've created a dedicated IP on this server just for this Apache site that I want to host, and changed my httpd.conf to this:
ServerRoot "S:/SVN/"
ServerName "subversion.domain.com"
ServerSignature Off
ServerTokens Prod
DocumentRoot "htdocs"
Listen 10.3.1.91:8091
This all works fine, with everything working nicely. However I want to set the server to use just that one interface, but on port 80. It's a new IP so nothing else should be using it.
If I change the Listen statement to:
Listen 10.3.1.91:80
The Apache service fails to start. I've also tried using this:
BindAddress 10.3.1.91
Listen 80
But so far no luck.
Can anyone point me in the right direction?
Thanks,
Steve.
"They have the internet on computers now!" - Homer Simpson