--- "adrian.wells"
I'm using apache, for our intranet (also using squid, but this is bypassed for local addresses) and want to password protect a folder at...
file:/usr/local/httpd/htdocs/ict
This equates to http://myipaddress/ict/ on a browser
This folder also contains my .htaccess file which contains the following text...
<SNIP> AuthType Basic AuthName "ict Dept. Only" AuthUserFile /.htpasswd/usr/local/httpd/htdocs/ict/PASSWD require valid-user </SNIP>
I have tried several paths for my Password file(!), but it is now at...
file:/.htpasswd/usr/local/httpd/htdocs/ict/
This contains my PASSWD file. I have one password in the format user:password crlf
^^^^^^^^^^^^^^^^^^ That's why.... You have to do: htpasswd -c htpasswd username in the same directory as your .htaccess file, and then try it. You might also find the following URL handy: http://linuxgazette.net/issue70/adam.html#configsecure -- Thomas Adam ===== "The Linux Weekend Mechanic" -- http://linuxgazette.net "TAG Editor" -- http://linuxgazette.net "<shrug> We'll just save up your sins, Thomas, and punish you for all of them at once when you get better. The experience will probably kill you. :)" -- Benjamin A. Okopnik (Linux Gazette Technical Editor) ___________________________________________________________ BT Yahoo! Broadband - Free modem offer, sign up online today and save £80 http://btyahoo.yahoo.co.uk