Click to See Complete Forum and Search --> : How to secure apache for localhost use only.


kingy
05-08-2003, 12:43 PM
I'm using apache on my home pc for dev and testing purposes. I do not want my apache serving requests from the internet, I want it to be blocked off from the internet and only be available from localhost and 127.0.0.1.

Is it possible to configure apache to serve only the localhost as explained above?

JerryWMac
05-17-2003, 01:56 PM
http.conf
look for

ServerName
put in after this: localhost or 127.0.0.1
so that
ServerName: 127.0.0.1
or
ServerName: localhost

and then look for DNS
change this to 127.0.0.1
as well.

Then if you have a firewall, turn that on as well.