On 9/4/06, Bill Moseley <[EMAIL PROTECTED]> wrote:
This is on: Apache/2.0.55

On a related note, I can't seem to get access control working in my
.htaccess files.  I'm wondering if my RewriteRule could be confusing
things.

The .htaccess file contains only these two lines:

    deny from all
    Redirect /foo/ls.apache http://apache.org/


"Redirect" in the .htaccess files works, so Apache is reading
the file (and can also be seen by the strace output below).

    $ HEAD -S http://localhost/foo/ls.apache
    HEAD http://localhost/foo/ls.apache --> 302 Found
    HEAD http://apache.org/ --> 200 OK

But the deny isn't:

    $ HEAD -S http://localhost/foo/ls.txt
    HEAD http://localhost/foo/ls.txt --> 200 OK

Add
Order allow,deny
to you .htaccess and see if that fixes it.  Also check for other
Allow/Deny/Order directives that may be affecting this directory.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to