Hello,
I am currently trying to get httpd to only respond to requests with a particular domain. i.e. apache will only resond to requests for the and otherwise just ignore it and not send back any response.
Here are the details...
I have an LAN configured at home that connect to a linux box that runs as a router/firewall with iptables.
There are two linux boxes both sitting behind the firewall. Each box is running httpd.
I want both boxes to listen on port 80, but only respond to requests with a specific domain. this is because one box is mine, and the other belongs to a roommate, and we both want to use port 80.
I can configure iptables on the router to direct the trafic to both boxes, but can't get apache to only listen to a request with a specific domain.
So box1 should only respond to requests with and box2 should only respound to requests with
Thank You for any help
armin
I am currently trying to get httpd to only respond to requests with a particular domain. i.e. apache will only resond to requests for the and otherwise just ignore it and not send back any response.
Here are the details...
I have an LAN configured at home that connect to a linux box that runs as a router/firewall with iptables.
There are two linux boxes both sitting behind the firewall. Each box is running httpd.
I want both boxes to listen on port 80, but only respond to requests with a specific domain. this is because one box is mine, and the other belongs to a roommate, and we both want to use port 80.
I can configure iptables on the router to direct the trafic to both boxes, but can't get apache to only listen to a request with a specific domain.
So box1 should only respond to requests with and box2 should only respound to requests with
Thank You for any help
armin