vexx Posted November 17, 2011 Share Posted November 17, 2011 I decided to protect via .htaccess the modcp directory from one of my vBulletin boards. When I visit the /modcp/index.php link, I'm being prompted for the username and password, but if I click cancel, the login window dissapears allowing me into modcp. After that, each link I click from the modcp, asks the for .htaccess password again, I cancel it, allowing me access once again. Basicly, what my "protection" does is only to annoy with that window, that's all. Am I missing something? Is it something in my Apache conf that is allowing this? Tnx in advance guys Quote Link to comment https://forums.phpfreaks.com/topic/251305-folder-password-protecting-problem/ Share on other sites More sharing options...
Adam Posted November 17, 2011 Share Posted November 17, 2011 Can you show us your .htaccess file? Quote Link to comment https://forums.phpfreaks.com/topic/251305-folder-password-protecting-problem/#findComment-1288913 Share on other sites More sharing options...
vexx Posted November 17, 2011 Author Share Posted November 17, 2011 AuthType Basic AuthGroupFile /dev/null AuthName "Moderator Control Panel" AuthUserFile /home/site/public_html/modcp/.htpasswd <Limit GET POST> require valid-user </Limit> Quote Link to comment https://forums.phpfreaks.com/topic/251305-folder-password-protecting-problem/#findComment-1288914 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.