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. Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment 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.