[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

htaccess + apache



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

Attachment: signature.asc
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]