On 9/20/05, Chris Haravata <[EMAIL PROTECTED]> wrote:
> 
> i want to deny a particular IP from accessing my site, and assuming
> that the IP is 192.168.0.10, do i just put:
> 
> deny from 192.168.0.10
> 
> in .htaccess? or is there a container? for example:
> 
> <container>
> order deny,allow
> deny from 192.168.0.10
> allow from all
> </container>
> 

Adding it in a .htaccess file for a particular directory is okay -- it
keeps maintenance to a minimum. :) There's no need to add a
"container" since it's already inside a .htaccess for that directory.

HTH.
-- 
Ian Dexter R. Marquez
http://iandexter.co.nr [PGP key: 0x02D17A07]
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to