On Mon, 20 Aug 2001, Fernando Munoz wrote:
> I would like to know if there is a way to avoid the webserver to display the
> whole asp script when it crashes for any reason. I tried not using any debug
> flag with PerlSetVar with no results. I find "dangerous" to show all the DB
> access when something goes wrong with the web server.
Try "PerlSetVar Debug 0" or "PerlSetVar Debug 1". That will make it not
show the code.
Incidentally, I've been wondering if there is a way to make error messages
show up like Microsoft ASP does. It displays only the error message, as
well as the line number and filename that the error message occured in
(this is shown to the browser). I think that this is useful for production
debugging; makes it easier for the programmer to find the bug without
having to go into the error log, without exposing all your source code to
the public.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]