Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1650 connectés 

  FORUM HardWare.fr
  Windows & Software

  [Postgres][.htaccess] problème d'authentification

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[Postgres][.htaccess] problème d'authentification

n°1888781
ripus-
Posté le 14-01-2005 à 15:13:10  profilanswer
 

Bonjours,
j'ai une base de donnée sous Linux Debian qui tourne sous Postgres.
De l'autre côté j'ai un petit site web qui tourne sous Apache2 dans lequel je veux protéger les dossier à l'aide d'un .htaccess.
 
J'ai cru faire tous ce qui j'avais besoin, mais voilà, j'ai un souci qui est le suivant :
 
dans le error_log
-------------------------------
[Fri Jan 14 15:07:39 2005] [error] [client 192.168.0.108] File does not exist: /home/www/zejapanime/favicon.ico
[Fri Jan 14 15:07:46 2005] [error] [client 192.168.0.108] mod_auth_pgsql: Password for user test not found (PG-Authoritative)
[Fri Jan 14 15:07:50 2005] [error] [client 192.168.0.108] PG user toto: password mismatch
[Fri Jan 14 15:07:51 2005] [error] [client 192.168.0.108] File does not exist: /home/www/zejapanime/favicon.ico
-------------------------------
 
j'ai 3 champs dans la base SQL qui sont :
- username
-passwd ( crypté en MD5 )
- groups
 
et voilà à quoi ressemble mon .htaccess :
-------------------------------
AuthName "My PostgreSQL Authenticator"
AuthType basic
 
Auth_PG_user postgres
Auth_PG_database http_auth
 
Auth_PG_pwd_table psql_auth
 
Auth_PG_uid_field username
Auth_PG_pwd_field passwd
 
#Auth_PG_encrypted off
Auth_PG_hash_type MD5
<LIMIT GET POST>
        require valid-user
</LIMIT>
----------------------------
 
voilà j'éspère que vous allez pouvoir me dire pourquoi cette erreur.
 
 
merci

mood
Publicité
Posté le 14-01-2005 à 15:13:10  profilanswer
 

n°1888823
ripus-
Posté le 14-01-2005 à 16:19:04  profilanswer
 

[:_________]

n°1891313
ripus-
Posté le 17-01-2005 à 10:32:50  profilanswer
 

[:_________]


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Windows & Software

  [Postgres][.htaccess] problème d'authentification

 

Sujets relatifs
Probleme partitons HFSProblème Boot: checkdisk de partition fichier échange ?
probleme dbt-120 !Problème de synchro. avec FreeBox
Problème Barre des Tâches windowsprobleme avec switch niveau 3 D-Link VLAN
probleme entre AD et exchangeProblème pour joindre un pc à un domaine (virus ?)
probleme avec dbpower ampProblème de dll --> CTL3D32
Plus de sujets relatifs à : [Postgres][.htaccess] problème d'authentification


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR