From: | Marcos <marcos(at)second(dot)ival(dot)es> |
---|---|
To: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Apache+Postgresql (mod_auth_pgsql) |
Date: | 2000-12-13 18:48:46 |
Message-ID: | 3A37C48D.5DCC7A67@second.ival.es |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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(at)ival(dot)es
From | Date | Subject | |
---|---|---|---|
Next Message | Wade D. Oberpriller | 2000-12-13 19:29:29 | Re: No postgres on Solaris |
Previous Message | Anand Raman | 2000-12-13 18:20:24 | Re: COPY doesnt work on views |