Re: Conditional behavior by status code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux