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 Quote Link to comment https://forums.phpfreaks.com/topic/103244-problems-with-htaccess-protection/ 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.