par thierrybst » 16 Nov 2003 14:58
après plusieurs recherches le problème est résolu simplement
<BR>
<BR>editer le fichier :
<BR>vi /etc/httpd/conf/httpd.conf
<BR>
<BR>chercher :
<BR>
<BR>#------------------------------------------------------------
<BR># Information bay directories
<BR>#------------------------------------------------------------
<BR>
<BR>#------------------------------------------------------------
<BR># nom_ibay ibay directories (xxxxxxxxxx)
<BR>#------------------------------------------------------------
<BR>
<BR><Directory /home/e-smith/files/ibays/nom_ibay/html>
<BR> Options Indexes
<BR> Options +Includes
<BR> AllowOverride None
<BR> order deny,allow
<BR> deny from all
<BR> allow from all
<BR> AuthName "xxxxxxxxxxxxxxxxx"
<BR> AuthType Basic
<BR> AuthExternal pwauth
<BR> require user nom_ibay (voir la fin*)
<BR> Satisfy all
<BR></Directory>
<BR>
<BR><Directory /home/e-smith/files/ibays/nom_ibay/cgi-bin>
<BR> Options ExecCGI
<BR> AllowOverride None
<BR> order deny,allow
<BR> deny from all
<BR> allow from all
<BR> AuthName "xxxxxxxxxxxxxxxxx"
<BR> AuthType Basic
<BR> AuthExternal pwauth
<BR> require user nom_ibay
<BR> Satisfy all
<BR></Directory>
<BR>
<BR><Directory /home/e-smith/files/ibays/nom_ibay/files>
<BR> AllowOverride None
<BR> order deny,allow
<BR> deny from all
<BR> allow from all
<BR> AuthName "xxxxxxxxxxxxxxxxx"
<BR> AuthType Basic
<BR> AuthExternal pwauth
<BR> require user nom_ibay
<BR> Satisfy all
<BR></Directory>
<BR>
<BR>
<BR>***** à cet endroit, remplacer nom_ibay par un user
<BR>on peut en mettre plusieurs :
<BR>require user user1
<BR>require user user2
<BR>require user user3
<BR>j'ai essayé "require group" mais ca marche pas
<BR>
<BR>ne pas oublier de relancer avec : service httpd restart
<BR>
<BR>
<BR>bon trafic à tous