httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dror Braznitzki <Dro...@yellowpages.co.il>
Subject RE: mod_rewrite - debuging MapType: prg
Date Tue, 12 Mar 2002 13:37:29 GMT
I've tried raising mod_rewrite log level up to 5. The problem is that I
don't want anything to go out to the browser
so I cannot use CGI::Carp.
Is it possible that mod_rewrite is closing STDERR ?

Dror

-----Original Message-----
From: Bill -Sx- Jones [mailto:sneex@mac.com]
Sent: Tuesday, March 12, 2002 3:34 PM
To: users@httpd.apache.org
Subject: Re: mod_rewrite - debuging MapType: prg


On 3/12/02 8:25 AM, "Dror Braznitzki" <DrorBr@yellowpages.co.il> wrote:

> Hi, 
> 
> Does anyone knoews how to debug perl scripts that run as MapType: prg
> (External Rewriting Program).|
> I'm using -w option, and I'm trying to write debugging messages to
> STDERR,


Did you just try it at the command prompt?

Try this:

#!/path/to/perl -w

 use diagnostics;
 use CGI::Carp qw/fatalsToBrowser/;


Then inside the httpd.conf try turning on better logging options; like
loglevel 1 for rewriting engine and debug for the apache logger.


HTH;
-Sx-  :]



---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


Mime
View raw message