DeepakJ Posted August 2, 2007 Share Posted August 2, 2007 I basically want to implement .htaccess password protection on my local computer to test it out before going to the server. I have AllowOverride all under htdocs and my .htaccess file looks like the following: AuthUserFile /localhost/InputMaintainance/.htpasswd AuthGroupFile /dev/null AuthName EnterPassword AuthType Basic require user mecsoft The folder my files are in (htpasswd too) is called InputMaintainance. For some reason, the password protectionscreen comes up once, I type in the info, and it gives the 500 error. I refresh and it still gives the 500 error. I must have spent 4 hours trying to figure this out yesterday. Help would be GREATLY appreciated. Link to comment https://forums.phpfreaks.com/topic/63072-solved-implementing-htaccess-password-protection/ Share on other sites More sharing options...
DeepakJ Posted August 2, 2007 Author Share Posted August 2, 2007 I would also like to add that I get the password thing every time I restart my computer and try to access the browser, but the 500 error pops up. I also think the problem lies in my file root but am unsure on how to change the syntax. Link to comment https://forums.phpfreaks.com/topic/63072-solved-implementing-htaccess-password-protection/#findComment-314102 Share on other sites More sharing options...
apacheguy Posted August 2, 2007 Share Posted August 2, 2007 Can you post the contents of the error log file? That will usually log a message when there is an internal server error. Link to comment https://forums.phpfreaks.com/topic/63072-solved-implementing-htaccess-password-protection/#findComment-314124 Share on other sites More sharing options...
DeepakJ Posted August 2, 2007 Author Share Posted August 2, 2007 Dont worry about it it works on my server. Good enough for me. Link to comment https://forums.phpfreaks.com/topic/63072-solved-implementing-htaccess-password-protection/#findComment-314184 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.