httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Brown <>
Subject Re: [users@httpd] problem with require directive
Date Thu, 02 Jun 2005 16:28:55 GMT
Here's what worked:  I put all of the Auth directives in a Directory tag

<Directory /svn>
  #how to authenticate a user
  AuthType Basic
  AuthName "Restricted Files"
  AuthUserFile /etc/site-passwd
  #Only authenticated users may have access
  Require valid-user brownec
I could only get the site to authenticate when I had my name listed in
the valid-user line.
Otherwise, I get "unknown require directive" messages in my error log.

I was under the impression that apache looked in the location block
before the directory block.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message