httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] Return custom error txt if an error occurs
Date Mon, 05 Dec 2005 16:07:06 GMT
On 12/5/05, Jacob Friis Saxberg <webcom.dk@gmail.com> 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@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