Hi !!
Can Anyone tell me wot to add to a .htaccess file to forbid access to a directory (403)
Thanks
htaccess & 403
Moderator: General Moderators
- php3ch0
- Forum Contributor
- Posts: 212
- Joined: Sun Nov 13, 2005 7:35 am
- Location: Folkestone, Kent, UK
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.
http://www.e2.u-net.com/htaccess/make.htm
It will work out what you need to add to the .htaccess file.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Code: Select all
<Directory "/absolute/path/here">
Order allow, deny
Deny from all
</Directory>