hi,
i have an apache private directory and i would like to manage the
user&pass from a postgresql database. i think there is something like
mod_auth_pgsql but i do not know how can i use it. (i do not have mysql)
this is the current configuration:
<Directory "/www/privado">
AuthName "ZONA RESTRINGIDA"
AuthType Basic
AuthUserFile /www/passwd.file
# AuthGroupFile /usr/local/apache/group.web
require valid-user
Options FollowSymLinks Includes
AllowOverride Options AuthConfig
Order allow,deny
Allow from all
ErrorDocument 401 /error.htm
ErrorDocument 403 /error.htm
ErrorDocument 404 /www/error.htm
</Directory>
Firstly, how can i change this configuration in orden to allow
connections to a database to verify user&password. How many fields could
the database have? (login,pass,city,....)
Secondly, how can i have stadistics of how many times an users has got
into the privated directory. (any suggestion) Perhaps could be a script
to write into the database. ?¿?
Thirdly, Any suggestions will be pleased,
thanks in advance,
marcos
marcos@ival.es