Hi list,

I'm setting up a new vhost and have this error currently :

[Fri Apr 15 10:17:37 2011] [crit] [client 62.73.7.64] configuration error:  
couldn't check access.  Check your 'Require' directive: /
[Fri Apr 15 10:17:37 2011] [crit] [client 62.73.7.64] configuration error:  
couldn't check access.  Check your 'Require' directive: /favicon.ico

Apache version :
# # httpd -v
Server version: Apache/2.2.16 (FreeBSD)
Server built:   Apr 15 2011 09:54:07

System version :
# uname -a
FreeBSD files.domain.tld 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 
02:41:51 UTC 2011r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC   amd64



vhost config :

<VirtualHost *:80>
         serveradminad...@domain.tld
         DocumentRoot /usr/local/www/files
         ServerName files.domain.tld

    <Directory /usr/local/www/files>

         Order allow,deny
         Allow from all

         AuthType Basic
         AuthUserFile /dev/null
         AuthBasicAuthoritative Off
         AuthName "files repository authentication"
         AuthMySQLHost fqdn.domain.tld
         AuthMySQLDB DBName
         AuthMySQLUserTable T_FTPUsers
         AuthMySQLUser UserName
         AuthMySQLPassword Password
         AuthMySQLNameField str_username
         AuthMySQLPasswordField str_password_md5
         AuthMySQLPwEncryption md5


         require valid-user

    </Directory>

#       LogLevel debug
        ErrorLog "|/usr/local/sbin/rotatelogs -l 
/var/log/apache/files-errors.log.%Y-%m-%d-%H_%M 5M"
#       LogFormat "%h %l %u %t \"%r\" %>s %b" all
#       CustomLog "|/usr/local/sbin/rotatelogs -l 
/var/log/apache/files-access.log.%Y-%m-%d-%H_%M 86400" all

</VirtualHost>

I checked the modules compiled :
# grep AUTH /var/db/ports/apache22/options
WITH_AUTH_BASIC=true
WITHOUT_AUTH_DIGEST=true
WITH_AUTHN_FILE=true
WITHOUT_AUTHN_DBD=true
WITHOUT_AUTHN_DBM=true
WITH_AUTHN_ANON=true
WITH_AUTHN_DEFAULT=true
WITH_AUTHN_ALIAS=true
WITH_AUTHZ_HOST=true
WITH_AUTHZ_GROUPFILE=true
WITH_AUTHZ_USER=true
WITHOUT_AUTHZ_DBM=true
WITH_AUTHZ_OWNER=true
WITH_AUTHZ_DEFAULT=true
WITHOUT_AUTHNZ_LDAP=true


If I try a wrong login :
[Fri Apr 15 11:08:35 2011] [error] [client 62.73.7.64] user soad: password 
mismatch: /
Without critical error, so the authentication is correct.

I tried to set :
"require user userx" : same problem


As far as I searched on google I found errors due to (not) loaded modules, but 
I think I have all the modules I need.

Any advice is welcome,
Thx,

--
Bastien Semene
Administrateur Réseau&  Système

Cyanide Studio - FRANCE


---------------------------------------------------------------------
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: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to