LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Apache and Dynamic IP (https://www.linuxquestions.org/questions/linux-server-73/apache-and-dynamic-ip-593068/)

unknownmosquito 10-19-2007 12:36 PM

Apache and Dynamic IP
 
I need Apache to glom port 80 on a specific device on my computer, however both devices have dynamic ip addresses.

However, the two are entirely different as one is behind a router, so one will always be 192.168.*.* and the other will always be 152.*.*.* at least.

Is there a way to set Apache to use port 80 on only the 152.*.*.* device?

(particularly the Listen directive in the httpd.conf)

acid_kewpie 10-20-2007 05:38 AM

no, i'd suggest using an iptables rule to block the traffic on one nic to get around this pretty easily.


All times are GMT -5. The time now is 03:22 PM.