httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claire e <>
Subject [users@httpd] mod_auth_pgsql
Date Thu, 12 May 2005 20:26:17 GMT
My first post seems not be passed..

Hi everybody,

I am using the pgsql mod from
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

The delicate point is :
Auth_PG_encrypted and Auth_PG_hash_type

If you have any idea...


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message