Results 1 to 2 of 2
I'm trying to a .htaccess file and i keep getting the following error:'
------------------
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-06-2005 #1Just Joined!
- Join Date
- Sep 2005
- Posts
- 2
Problems with .htaccess
I'm trying to a .htaccess file and i keep getting the following error:'
------------------
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost 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.
Apache/2.0.54 (Fedora) Server at www.hdanforth.com Port 80
-----------------
This is my .htaccess file:
UserFile /var/www/.htpasswd
AuthGroupFile /dev/null
AuthName ByPassword
AuthType Basic
require user personal
--------------------
I'm not sure what other info to give, I'm useing FC4 and apache 2.0.54
I checked that my apache config file, and it set to let me use .htaccess files and it is. Any other sugestions?
Thanks in advance,
Dan
- 09-06-2005 #2Linux Enthusiast
- Join Date
- Aug 2005
- Location
- Hell
- Posts
- 514
You probably want something like this for your .htaccess file:
Read this tutorial for more information: http://httpd.apache.org/docs/2.0/howto/auth.htmlCode:AuthType Basic AuthName "ByPassword" AuthUserFile /var/www/.htpasswd Require user personal


Reply With Quote
