You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Rafael Faura <rf...@bassy.net> on 2004/09/30 13:36:56 UTC
RE: [users@httpd] SetEnvIf with response code
> -----Original Message-----
> From: Eimantas Vaiciunas [mailto:eimantas.vaiciunas@sc.vu.lt]
> Sent: jueves, 30 de septiembre de 2004 16:19
> To: users@httpd.apache.org
> Subject: [users@httpd] SetEnvIf with response code
>
> Hi list
>
> I am trying to set up log files for each response code
> (mostly for 4xx and 5xx
> error responses). I was wondering if it's possible somehow to
> 'catch' a
> response code, set env-var accordingly and log request into
> desired file.
According to http://httpd.apache.org/docs-2.1/mod/mod_setenvif.html there
aren't examples of SetEnvIf + responde codes. Anyway, IIRC, I saw some time
ago a post on this mailing list of a person that achivied it.
----------------------------
Rafael Faura Cucalón
rfaura@bassy.net
Consultor - IT Consultant
Bassy Servicios Informaticos
www.bassy.net
---------------------------------------------------------------------
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