Apache would only listen on that IP and nothing else would be listened to, would that not be what you want as it is a configuration?You also may be able to use Listen 22.214.171.124:80 or what ever your server's IP is on the LAN.
An example.126.96.36.199.. what IP is that?
Yes, and don't forget to add the port number :80 as I did in the example.Or just put the IP of the machine that is running the server?
Or just put the IP of the machine that is running the server?
2) I only want the machines behind the router to access the webpage.
I don't want it visible externally at all..
1) I don't want mysql to be accessed remotely. I only want it accessible from the localhost (both from command line as well as the apache server).
I am beginning to think that the Listen directive is just a joke that apache is trying to play on us...
I am able to serve requests from the localhost, from the machines on my LAN, and ALSO a machine outside the LAN.
So far, the only way I have been able to make it where only machines IN the LAN can access my webserver is to set port forwarding on the router to route to some random IP (not the webserver's IP) to prevent external machines from accessing my web server...
the only weird thing is the order of "deny,allow"..
Users browsing this forum: hanie2016 and 48 guests