[Wolves] .htaccess files(was my own personal web server)
Jon Farmer
jonfarmer at enta.net
Fri Dec 3 09:06:33 GMT 2004
Baza wrote:
> OK, my web server is almost ready to go live. What I want to know now is I
> want to put together an .HTACCESS file to block some domains and IP
> addresses from my site. Whats the format for this? Do I just make a text
> file, call it something like filter.htaccess and format like this ..
Yes it is perfectly possible. Put this in the .htaccess file
<limit>
order deny, allow
deny from 192.168.0.1
......
</limit>
Not that you will have to AllowOverride for the directory in question in
your httpd.conf
Regards
Jon
--
Jon Farmer
Systems Programmer
Entanet International Ltd
GPG Fingerprint ABCB 6E92 59B8 001F FE9C 0817 A2D6 0151 FF49 9040
More information about the Wolves
mailing list