Apache help!

VashTS

Beat it, son
OP
Member
Joined
Mar 14, 2009
Messages
4,308
Trophies
1
Age
39
Location
Upstate NY
XP
3,756
Country
United States
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
Code:
AuthUserFile /secret/.htpasswd
AuthName "Please Enter Password"
AuthType Basic
Require valid-user

any ideas whats going on here?
 

VashTS

Beat it, son
OP
Member
Joined
Mar 14, 2009
Messages
4,308
Trophies
1
Age
39
Location
Upstate NY
XP
3,756
Country
United States
just in case anyone needs the answer.... the path to the htpasswd file was not correct, found out very easily once i checked the log files 0_o FUCK i hate software sometimes.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: https://m.youtube.com/watch?v=_NTF5_qgH0o