Re: [users@httpd] Return custom error txt if an error occurs

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

 



On 12/5/05, Jacob Friis Saxberg <webcom.dk@xxxxxxxxx> wrote:
> Hello.
>
> How can I make httpd output result=90 if an error occurs?
> The error could be any error.
> I.e. a 404 or a Php script error.

I don't know what you mean here.  You simply want the text
"result=90"?  If so, you can do
ErrorDocument 404 "result=90"
and similarly for all other relevant error codes.  I don't remember
how php handles its errors, so I don't know whether ErrorDocument will
work for that.

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