[CentOS] Can't get .htaccess to work

Sun Apr 20 11:58:53 UTC 2008
Pam Astor <pamastor at hotmail.com>

> That you got a server error is good.> > > Here are the last two log file entries for that httpd request:> > you want to look in the *error* log if you look for errors!> > > > I could not access the site,> > which means exactly what? ;-)
 
OK, starting from scratch this morning,
here is the .htaccess file I am using which is inside of the
/home/LinuxAccountName/www directory:
 
 
<Directory "/home/LinuxAccountName/www">Options NoneAuthName "UserNameIUsedToCreatePasswordWith"AuthType BasicAuthUserFile /home/LinuxAccountName/.htpasswdRequire valid-user</Directory>
www above refers to the root or web directory - the lowest or first or base
directory that is web accessable.
And, this is the error I am getting from my httpd error log for this domain:
 
[Sun Apr 20 07:47:40 2008] [alert] [client 75.46.110.14] /home/LinuxAccountName/.htaccess: <Directory not allowed here
 
When I point my web browser to the domain name that the above .htaccess is 
written for, I get the below error in my web browser:
 
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, help at mydomain.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.


Apache/2.2.3 (CentOS) Server at www.mydomain.com Port 80
+
_________________________________________________________________
Pack up or back up–use SkyDrive to transfer files or keep extra copies. Learn how.
http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_packup_042008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080420/3afe658d/attachment-0005.html>