Page 1 of 1

Internal Server Error when htaccess enabled

Posted: 2009/11/20 12:17:35
by 2handband
I'm new to setting up web servers and have been following the instructions presented in The Definitive Guide to CentOS. After configuring htaccess as per instructions I'm getting 500 Internal Server Error.

Here is my /var/www/html/.htaccess:

[code]<Files .htaccess>
order allow,deny
deny from all
</Files>
<Files .htpasswd>
order allow,deny
deny from all
</Files>
AuthUserFile /etc/httpd/htpasswd
AuthName "Secret Secure Area"S
AuthType Basic
require vaild-user[/code]

Can anyone help?

Re: Internal Server Error when htaccess enabled

Posted: 2009/11/20 12:56:29
by 2handband
Okay, I just looked at my post and noticed that I misspelled valid. I fixed that, and I still get the error.

Re: Internal Server Error when htaccess enabled

Posted: 2009/11/24 19:54:51
by 2handband
I'm going to give this one a bump... can anyone tell me how to get htaccess configured?

Re: Internal Server Error when htaccess enabled

Posted: 2010/08/08 03:57:13
by clem
AuthName "Secret Secure Area"S
=>AuthName "Secret Secure Area"