Mod-Jay Posted February 5, 2011 Share Posted February 5, 2011 Hello im trying to put Authentication on one of my directory and i type in the password and username and it goes to error 500 <Files members.php> AuthName "Prompt" AuthType Basic AuthUserFile /inc/.htpasswd Require valid-user </Files> Quote Link to comment https://forums.phpfreaks.com/topic/226836-htaccess-authentication-not-working/ Share on other sites More sharing options...
gizmola Posted February 6, 2011 Share Posted February 6, 2011 A 500 error is an internal error. The only way to pinpoint this is to look at the various error logs you have setup, in particular the apache error log. Quote Link to comment https://forums.phpfreaks.com/topic/226836-htaccess-authentication-not-working/#findComment-1170492 Share on other sites More sharing options...
Mod-Jay Posted February 6, 2011 Author Share Posted February 6, 2011 Error: [sat Feb 05 20:08:08 2011] [alert] [client ::1] C:/Users/cory j/Desktop/xampp/htdocs/NoXiP/toplist/.htaccess: Invalid auth file type: j/Desktop/xampp/htdocs/NoXiP/toplist/inc/.htpasswd, referer: http://localhost/NoXIp/toplist/index.php Quote Link to comment https://forums.phpfreaks.com/topic/226836-htaccess-authentication-not-working/#findComment-1170497 Share on other sites More sharing options...
gizmola Posted February 6, 2011 Share Posted February 6, 2011 Ok, well there you go, did you make the file using the htpasswd program? Quote Link to comment https://forums.phpfreaks.com/topic/226836-htaccess-authentication-not-working/#findComment-1170502 Share on other sites More sharing options...
Mod-Jay Posted February 6, 2011 Author Share Posted February 6, 2011 No, I redid the directory Quote Link to comment https://forums.phpfreaks.com/topic/226836-htaccess-authentication-not-working/#findComment-1170503 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.