<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
> >> 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? ;-)<br>> > <br>> > OK, starting from scratch this morning,<br>> > here is the .htaccess file I am using which is inside of the<br>> > /home/LinuxAccountName/www directory:<br>> > <br>> > <br>> > <Directory "/home/LinuxAccountName/www">Options NoneAuthName "UserNameIUsedToCreatePasswordWith"AuthType BasicAuthUserFile /home/LinuxAccountName/.htpasswdRequire valid-user</Directory><br>> > www above refers to the root or web directory - the lowest or first or base<br>> > directory that is web accessable.<br>> > And, this is the error I am getting from my httpd error log for this domain:<br>> > <br>> > [Sun Apr 20 07:47:40 2008] [alert] [client 75.46.110.14] /home/LinuxAccountName/.htaccess: <Directory not allowed here<br>> <br>> Remove the <Directory> tag.. a .htaccess file is placed inside a <br>> <Directory> tag for the folder it is in automatically..<br>> <br>> Consequentially, your .htaccess looks like this to apache:<br>> <Directory /home/user/www><br>> <Directory /home/user/www><br>> ...<br>> </Directory><br>> </Directory><br><br>Thanks,<br><br>OK I removed the directory tag & got a different error, now the contents of .htaccess file is this:<br><br>Options None<br>AuthName "UserNameCreatedFor.htpasswd"<br>AuthType Basic<br>AuthUserFile /home/user/.htpasswd<br>Require valid-user<br><br>Error log for my request is here:<br><br>[Sun Apr 20 19:57:05 2008] [alert] [client 12.34.567.89] /home/user/www/.htaccess: Options not allowed here<br><br>And error I got in web browser is here:<br><br><h1>Internal Server Error</h1>
The server encountered an internal error or misconfiguration and was unable
to complete your request.<BR><br><br><br /><hr />Use video conversation to talk face-to-face with Windows Live Messenger. <a href='http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_042008' target='_new'>Get started!</a></body>
</html>