-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Bonjour,
I have installed the module mod_auth_pam for apache on a FC3 server.
In /etc/httpd/conf/httpd.conf I added:
<Directory "/var/www/html/toto"> AuthPAM_Enabled on AuthType Basic AuthName "secure area" require group cdcd </Directory>
and created the directory /var/www/html/toto
When I want to access this directory a dialog box is opened asking for login and password. I put my linux login name and password but it doesn't work, the dialog box come back every time and if I give up, I get this message:
Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
What is missing, in my configuration?
/etc/pam.d/httpd file is:
#%PAM-1.0 auth required /lib/security/pam_unix.so account required /lib/security/pam_unix.so
And there two line in the httpd.conf file for this module:
LoadModule auth_pam_module modules/mod_auth_pam.so LoadModule auth_sys_group_module modules/mod_auth_sys_group.so
Thank you for any help.
- -- François Patte École française d'Extrême-Orient - Pune - Inde Université Paris 5 - Paris http://www.math-info.univ-paris5.fr/~patte -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCPQbldE6C2dhV2JURApJFAJ9XmtMNP2O1ZPNn/byFTCn/uUjSkwCgm1+W UACIgnnEG83nTcGjRfqsaAo= =mjwY -----END PGP SIGNATURE-----