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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to