You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jacob Friis Saxberg <we...@gmail.com> on 2005/12/05 16:59:11 UTC

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

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.


Thanks,
Jacob

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


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

Posted by Joshua Slive <js...@gmail.com>.
On 12/5/05, Jacob Friis Saxberg <we...@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