Cod-nes Posted May 16, 2011 Share Posted May 16, 2011 I keep getting a Internal Server Error message when I try to password protect a folder using .htaccess. Here is my codes. What am I doing wrong? C:/Documents and Settings/XXXXXXX/My Documents/Mowes Server/www/.htaccessAuthUserFile C:/Documents and Settings/XXXXXXX/My Documents/Mowes Server/.htpasswdAuthType BasicAuthName "My Secret Folder"Require valid-user C:/Documents and Settings/XXXXXXX/My Documents/Mowes Server/.htpasswdtest:cOYEWO52hnJoc OS: Windows XpServer: MoWeS 2.0.3Apache/2.2.11 (Win32) PHP/5.3.5 Server Link to comment Share on other sites More sharing options...
Sl0G Posted May 24, 2011 Share Posted May 24, 2011 Try this instead. AuthType BasicAuthName "Locked Area"AuthUserFile /FULL_PATH_TO_THE_PASSWORD_FILE_ON_THE_SERVERrequire valid-user And make sure that you are using the right encryption for the password. Do not know if you are aware that the password is encrypted.Here a generator that might help you: http://www.4webhelp.net/us/password.php Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.