Apache help!

VashTS

Beat it, son
OP
Member
Joined
Mar 14, 2009
Messages
4,314
Trophies
1
Age
40
Location
Upstate NY
XP
3,927
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,314
Trophies
1
Age
40
Location
Upstate NY
XP
3,927
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
    Xdqwerty @ Xdqwerty: Hello