Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- htacess protect directory
- Jacqui or (maybe) Pete
August 14, 2003, 11:08 am
rate this thread
password protection, but I just want to deny all access (other then to
the server & my ftp of course).
<Directory ~ formmail$>
Deny from All
but I get the error:
"<Directory not allowed here"
A pointer to the appropriate FAQ will suffice!
(Server is appache/unix, natch).
Re: htacess protect directory
I'm pretty sure you can't put a <Directory>...</Directory> in an .htaccess
file -- such constructs are only appripriate in the main Apache config
Do you have access to edit the main config files and restart httpd?
Toby A Inkster BSc (Hons) ARCS | mailto:email@example.com | pgp:0x6A2A7D39
aim:inka80 | icq:6622880 | yahoo:tobyink | jabber:firstname.lastname@example.org
http://www.goddamn.co.uk/tobyink/ | "You've got spam!"