Connecting Tech Pros Worldwide Forums | Help | Site Map

Password protect certain web files

rcollins's Avatar
Familiar Sight
 
Join Date: Aug 2006
Location: Grand Junction, CO
Posts: 233
#1: Apr 30 '09
Well google is confusing me. My coworker and I have been following the directions for the htaccess file stuff and can not get it to work. Get an error 500
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.
Need some help on what to do. We followed instructions to the t. We have a limited time to get this done. Please help

Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,949
#2: May 1 '09

re: Password protect certain web files


What are the contents of your htaccess file?
rcollins's Avatar
Familiar Sight
 
Join Date: Aug 2006
Location: Grand Junction, CO
Posts: 233
#3: May 1 '09

re: Password protect certain web files


AuthUserFile ./.htpasswd
AuthGroupFile /dev/null
AuthName "Valid Users Only"
AuthType Basic

require valid-user

then I have this in the htpasswd file
Administrator:gatdjUajvHwDM
NeoPa's Avatar
Administrator
 
Join Date: Oct 2006
Location: London - UK
Posts: 15,747
#4: Jun 26 '09

re: Password protect certain web files


Is that enough info Markus? Can you help with this?
Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,949
#5: Jul 11 '09

re: Password protect certain web files


I'm sorry - this didn't show up in my subscribed posts.

Rcollins, take a look in your apache error logs - there'll most likely be some useful information in there (nothing jumps out at me, regarding your htaccess)

Mark.
Reply