acidglitter Posted July 28, 2008 Share Posted July 28, 2008 on my site i have a .htaccess file like this... AuthName "Restricted Area" AuthType Basic AuthUserFile /home/site/.htpasswd AuthGroupFile /dev/null require valid-user so all of the folders on my site are password protected. is there a way though that i could remove the password on one of the subfolders with another .htaccess file? Quote Link to comment https://forums.phpfreaks.com/topic/117026-help-with-htaccess-and-passwords/ Share on other sites More sharing options...
LemonInflux Posted July 28, 2008 Share Posted July 28, 2008 This isn't PHP, this is apache. ---------------- Now playing: Aerosmith - Dude (Looks Like A Lady) via FoxyTunes Quote Link to comment https://forums.phpfreaks.com/topic/117026-help-with-htaccess-and-passwords/#findComment-601936 Share on other sites More sharing options...
synking Posted July 28, 2008 Share Posted July 28, 2008 you can put a .htacess in each directory that you want to protect then link it to the one .htpassword. great site to look at. http://www.askapache.com/htaccess/apache-htaccess.html Quote Link to comment https://forums.phpfreaks.com/topic/117026-help-with-htaccess-and-passwords/#findComment-601982 Share on other sites More sharing options...
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.