You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Claire e <cl...@gmail.com> on 2005/05/12 22:26:17 UTC

[users@httpd] mod_auth_pgsql

My first post seems not be passed..

Hi everybody,

I am using the pgsql mod from http://www.giuseppetanzilli.it/mod_auth_pgsql2/
My application seems to connect to the database.

However, my passwords are encrypted in md5 and encoded in base64. I
don't know how to configure my apache conf.

I have :
   <Location "/cgi-bin/trac.cgi/login">
     #AuthType Basic
     #AuthName "ebi"
     #AuthUserFile /var/www/trac.htpasswd
     #Require valid-user

     AuthType Basic
     AuthName "ebi"

     Auth_PG_host localhost
     Auth_PG_port 5432
     Auth_PG_database work
     Auth_PG_user chernandez
     Auth_PG_pwd chernandez

     Auth_PG_pwd_table ebi_principals
     Auth_PG_uid_field principalid
     Auth_PG_pwd_field password
     Auth_PG_encrypted on
     Auth_PG_hash_type MD5
    # Auth_PG_hash_type BASE64

     Auth_PG_grp_table ebi_roles
     Auth_PG_grp_user_field principalid
     Auth_PG_grp_group_field rolegroup

     #require group administrateur
     Require valid-user
   </Location>

The delicate point is :
Auth_PG_encrypted and Auth_PG_hash_type

If you have any idea...

Regards.
Claire

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