Is there any way to get Apache to behave differently based on the
status code, specifically apply different OutputFilters? This is

With httpd-2.3/2.4, just make that a condition for FilterProvider.

With 2.2, condition evaluation is more limited so you can't do that.
It would be a fairly trivial hack to mod_filter, or you could make
the check within your filter itself.

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

That's fine if it is an errordocument coming from the server itself,
but not useful if it's from some application.

--
Nick Kew

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

Reply via email to