Any got experience and can provide some advice?
I have my server running fine but I'm trying to add basic password protection using .htaccess
I have created the .htaccess file using the many tutorials out there. I created the .htpasswd file in the same manner. I edited my httpd.conf file to AllowOverride All. This causes internal server error 500. The funny part is it DID allow the username/password 1 time and 1 time only but server error when it was entered successfully.
I'm serving off my main PC under "C:\users\mypc\google drive\webhost\website" all the files are under that website folder so i put the .htaccess file in there. i created a folder inside there called "secret" containing the .htpasswd file.
this is what my .htaccess file looks like
any ideas whats going on here?
I have my server running fine but I'm trying to add basic password protection using .htaccess
I have created the .htaccess file using the many tutorials out there. I created the .htpasswd file in the same manner. I edited my httpd.conf file to AllowOverride All. This causes internal server error 500. The funny part is it DID allow the username/password 1 time and 1 time only but server error when it was entered successfully.
I'm serving off my main PC under "C:\users\mypc\google drive\webhost\website" all the files are under that website folder so i put the .htaccess file in there. i created a folder inside there called "secret" containing the .htpasswd file.
this is what my .htaccess file looks like
Code:
AuthUserFile /secret/.htpasswd
AuthName "Please Enter Password"
AuthType Basic
Require valid-user
any ideas whats going on here?