httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc MENDEZ" <cnmm...@yahoo.fr>
Subject Re: [users@httpd] How to detect failed authentification ?
Date Tue, 15 Aug 2006 16:23:48 GMT
Hum, that's a very good idea ! May be not a perfect, but very interesting !

Thanks a lot !
----- Original Message ----- 
From: "Joshua Slive" <joshua@slive.ca>
To: <users@httpd.apache.org>
Sent: Tuesday, August 15, 2006 5:47 PM
Subject: Re: [users@httpd] How to detect failed authentification ?


> On 8/15/06, Marc MENDEZ <cnmm600@yahoo.fr> wrote:
>> thanks for your answer, that's what I thought.
>>
>> But, is there a solution to get a mail *only* when the login failed ?
>
> If you are using php as a module, you could probably check
> $_SERVER['PHP_AUTH_USER'] as described here:
> http://ca3.php.net/features.http-auth
>
> If it is empty or unset, it is likely an initial login attempt.  If
> there is something in it but you still wound up at your 401 page, then
> it is probably a bad password.
>
> I've never tried it, but it should work.
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


	
 p5.vert.ukl.yahoo.com uncompressed Tue Aug 15 15:27:00 GMT 2006 
	
		
___________________________________________________________________________ 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences.

http://fr.answers.yahoo.com 


---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message