adamjblakey Posted April 28, 2008 Share Posted April 28, 2008 Hi, I have a folder on my server which i want to protect. I though everything is setup fine and does protect the folder but also protects the public_html also even though the htaccess file is in a sub folder. Code: AuthName "Restricted Area" AuthType Basic AuthUserFile /vhost/vhost6/s/d/o/.htpasswd AuthGroupFile /dev/null require valid-user Any ideas? Cheers, Adam Link to comment https://forums.phpfreaks.com/topic/103244-problems-with-htaccess-protection/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.