Created
July 30, 2010 08:01
-
-
Save wtnabe/500122 to your computer and use it in GitHub Desktop.
httpd.conf for blocking access by IP addr ( not HostName )
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deny access by IP addr | |
<VirtualHost 192.168.0.1:80> | |
ServerName 192.168.0.1 | |
<Location /> | |
Deny from all | |
</Location> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment