PDA

View Full Version : Securing Editor url


malum
18th of July 2002 (Thu), 04:40
You have written a piece with a link on how to password secure this url, I remember seeing it but now I can't find it, can you point me in the right direction?

Many thanks

Nick

malum
18th of July 2002 (Thu), 10:17
Ok I found out how to do it but I can't get it to work for love nor money.

I have this

AuthUserFile /usr/local/safe/.htpasswd
AuthGroupFile /dev/null
AuthName Go Away
AuthType Basic

require valid-user

as the .htaccess file and I have made the .htpasswd file with the encrypted password in it, the path is correct but all I get when I add this isan internal server error
Which apparently means there is something wrong with the .htaccess file.

Anything look out of place there?

Pekka
18th of July 2002 (Thu), 10:20
http://www.aeanetwork.com/docs/protection.html

malum
18th of July 2002 (Thu), 10:23
Cross posted.

Thanks

I found the error, I had't put "" around the AuthName.

so small and yet so crippling.

It works now

Thanks

malum
18th of July 2002 (Thu), 10:31
Which doesn't feature in that tutorial either:

AuthUserFile /usr/local/safe/.htpasswd
AuthGroupFile /dev/null
AuthName "Go Away"
AuthType Basic

require valid-user

The "" are required to make it work