httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: limiting access
Date Fri, 07 Jun 2002 20:07:13 GMT

On Fri, 7 Jun 2002, Ashmore, Samuel R wrote:

> I am attempting to create a directory where i can limit the access.  I
> created a password file using htpasswd.  before i put in the .htaccess
> file(which is shown below) i had access to the directory.  Now i have no
> access.  Any suggestions?
> AuthName "Test Directory"
> AuthUserFile /home/squat/public_html/temp/.htaccess
> AuthType Basic
> <Limit GET>
>         require valid-user
> </Limit>

1. Throw away whatever documentation told you to use <Limit GET> and
</Limit>.  Those lines are unnecessary and quite possibly a security risk.

2. The AuthUserFile should point to the password file, not to the
.htaccess file.

3. What does the error log say?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message