Greetings.

I have an apache server based on RH7.3. A single network adaptor is 
bound to 2 addresses, i.e. 192.168.1.1 (eth0) and 192.168.1.2 (eth0:1)

As expected, apache will bind the http process to both network 
addresses on port 80.

What I need to determine is how to stop httpd from binding to the 
second address 192.168.1.2 on eth0:1, so I can port forward the second 
address port 80 to a different system, using some port redirection 
software.

I have a kludge work around, but feel there maybe a better way to 
facilitate this configuration.

What I have done is: bind apache to listen on a random port > 1023 
which will never be used. By using the 'Listen' directive tell apache 
to listen to the single IP address, ie: Listen 192.168.1.1:80.


Thanks in advance for any suggestions

Peter Worboys
 

----------------
Powered by telstra.com


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to