httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Conner <...@conman.org>
Subject Re: [users@httpd] Conditional behavior by status code
Date Wed, 04 Nov 2009 20:56:20 GMT
It was thus said that the Great Brian Mearns once stated:
> Is there any way to get Apache to behave differently based on the
> status code, specifically apply different OutputFilters? This is
> similar in concept, I believe, to AddOutputFilterByType, which relies
> on the generated Content-Type header to determine what filter to
> apply. But I want to apply different filters based on the status code.
> If there is any way to set an environment variable based on the status
> code, that would work as well.

  If you want to serve a different page depending upon the status, there is
the ErrorDocument directive.

  -spc


---------------------------------------------------------------------
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