eroute0101
asked on
Restricting Access In httpd.conf
I have apache running locally on my machine. I don't use any directory brackets, just DocumentRoot references to enable web server access to a specific folder. What do I put in the httpd.conf file to restrict access to just my computer.
Apache fails to load If I try putting something like these examples in the httpd.conf file:
<Limit GET POST PUT>
order deny,allow
deny from all
allow from 127.0.0.1
</Limit>
or:
order deny,allow
deny from all
allow from 127.0.0.1
Apache fails to load If I try putting something like these examples in the httpd.conf file:
<Limit GET POST PUT>
order deny,allow
deny from all
allow from 127.0.0.1
</Limit>
or:
order deny,allow
deny from all
allow from 127.0.0.1
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.