I want to password-protect a particular directory. I first created /public_html/A-Turzo/.htpasswd with: (fake data, of course)
Dave:aatn0reZcpJ6s
Sam:aaFarHdJV6Qw2
Sharon:aatuPo4FOPXBQ
I then created /public_html/A-Turzo/data/.htaccess (the directory I wanted to protect).
AuthName "Member Area"
AuthType Basic
AuthUserFile /public_html/A-Turzo/.htpasswd
Require valid-user
But it doesn't work:
When I go to communitychessclub.com/A-Turzo/data I get:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@communitychessclub.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
What can I do to fix this?


LinkBack URL
About LinkBacks



Reply With Quote


Bookmarks