2 Users Commented In This Post

Subscribe To This Post Comment Rss Or TrackBack URL
Tobey says, April 1st, 2008   

Thanks for a nice tip Martin.

Topper says, April 3rd, 2008   

Must be in other order:
AuthName “Protected Content”
AuthType Basic

order allow,deny

#Comment
allow from 255.255.255.255
deny from all

Apache stop after first match - if this is Deny, this will be forbid for ever

Also is suitable “allow from 192.168.0 (last octet from network will be permited)

BUT .htaccess are useful - you must prefer rules in httpd.conf because in .conf is MUCH MUCH faster !

Leave Your Comments Below
Hello, please leave your thought below

Please Note: Each comment will be manually approved by an admin. There is no guarantee that a comment will be posted. Please do not submit the comment multiple times.