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? 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 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 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
Archived
This topic is now archived and is closed to further replies.