cashton2k Posted January 15, 2006 Report Share Posted January 15, 2006 hi i wanna secure the directory "secure" in apache on a unix boxive altered the httpd.conf filethen put a .htaccess file in secure containing:AuthType BasicAuthUserFile /var/www/html/secureAuthName “Restricted â€<LIMIT GET POST>require valid-user</LIMIT>then i added a username and password to the htpasswd file etc.but i dont get asked for a username or password when i access a htm file in the secure directoryany ideas?cheers for any help Quote Link to post Share on other sites
iccaros Posted January 26, 2006 Report Share Posted January 26, 2006 (edited) did you do it this wayhtpasswd -c /usr/local/apache/passwd/passwords rbowenNew password: mypasswordRe-type new password: mypasswordAdding password for user rbowen or did you vi the files? Edited January 26, 2006 by iccaros Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.