Apache+Postgresql (mod_auth_pgsql)

Поиск
Список
Период
Сортировка
От Marcos
Тема Apache+Postgresql (mod_auth_pgsql)
Дата
Msg-id 3A37C48D.5DCC7A67@second.ival.es
обсуждение исходный текст
Список 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@ival.es


В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Problem with pg_hba.conf
Следующее
От: "Roderick A. Anderson"
Дата:
Сообщение: Re: info please