Apache help!

  • Thread starter Thread starter VashTS
  • Start date Start date
  • Views Views 893
  • Replies Replies 1

VashTS

Beat it, son
Member
Joined
Mar 14, 2009
Messages
4,325
Reaction score
978
Trophies
1
Age
42
Location
Upstate NY
XP
4,167
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?
 
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