Surely you can design your own error page if you want. It should imply
some extra work but greater flexibility
Did you check this page about error customization in Apache?
http://httpd.apache.org/docs/2.0/custom-error.html
-- Massimo
On 03.07.2012 09:14, Georgios Petasis wrote:
Does this mean that I have to design my own error page?
George
Στις 3/7/2012 01:57, ο/η Massimo Manghi έγραψε:
A tcl error can be handled setting up an ErrorScript. If the error
is raised by an abnormal condition you are catching somehow in your
code you may call 'abort_page <abort_code>' which will trigger the
code set up in AbortScript. Within this script you can check which
condition brought about the error using the 'abort_code' command that
is supposed to return the <abort_code> you passed when you fired the
exception.
You may also issue a redirect forcing the browser to issue a request
for a different URL which might create the error page.
See also the 'headers' and 'no_body' commands
-- Massimo
------Messaggio originale------
Da: Georgios Petasis
A:[email protected]
Rispondi a:[email protected]
Oggetto: How to return an error page?
Inviato: 3 Lug 2012 00:35
Hi all,
I am writing a rest service in Rivet. When an error occurs, how can
I
return an error page?
I have tried "headers numeric 500". Firefox sees that the server
responded with an internal server error, but I see a blank page.
How can I use the apache default error page?
George
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]