httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Brown <>
Subject [users@httpd] problem with require directive
Date Wed, 01 Jun 2005 17:54:24 GMT

Trying to setup basic authentication.

Using the following in my httpd.conf file:

<Location /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
Here are the modules I have:
LoadModule access_module modules/
LoadModule auth_module modules/
LoadModule auth_anon_module modules/
LoadModule auth_dbm_module modules/
LoadModule auth_digest_module modules/
LoadModule ssl_module modules/
LoadModule mime_module modules/
LoadModule dav_module modules/
LoadModule status_module modules/
LoadModule dav_svn_module modules/

The authentication window pops up OK, but I can't get in, and I get
the following lines
in my error log:

error: unknown require directive valid-user
error: user brownec does not have access

- valid-user is a valid directive, and I have the right module to use it.
- my name is entered in the /etc/site-passwd file (used the htpasswd comman=

Still getting the same error after a few server restarts.  Can't seem
to get around this one.
Any help would be appreciated.


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