htaccess + apache

CodeHeads codeheads at gmail.com
Sun May 28 02:41:28 UTC 2006


Have a quick question. Did not find what i was looking for on google.

Say if my document root for my virtual sites is /var/www/sites

Can I put the following .htaccess file in the document root to restrict access?
Order allow,deny
allow from all
deny from 123.123.133.145

I know that I can use the httpd.conf file, but I am tring to do something a bit
faster.

Thanks
Will
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060527/33de98f6/attachment-0001.sig>


More information about the fedora-list mailing list