htaccess & 403

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
illuminationed
Forum Newbie
Posts: 8
Joined: Fri Nov 18, 2005 10:13 am

htaccess & 403

Post by illuminationed »

Hi !!

Can Anyone tell me wot to add to a .htaccess file to forbid access to a directory (403)

Thanks
User avatar
php3ch0
Forum Contributor
Posts: 212
Joined: Sun Nov 13, 2005 7:35 am
Location: Folkestone, Kent, UK

Post by php3ch0 »

do you mean adding password protection to a directory. If so check out this link

http://www.e2.u-net.com/htaccess/make.htm

It will work out what you need to add to the .htaccess file.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Code: Select all

<Directory "/absolute/path/here">
    Order allow, deny
    Deny from all
</Directory>
Post Reply