I am trying to keep the script as generic as possible so it would be able to run under CGI.PM. I just tried using a return from the main script and it worked fine. Is this the recommended approach to exiting a script midstream?
Tim Pushor wrote:
I am currently running Apache::ASP 2.55 under Apache 1.3.28 on FreeBSD 4.8 & perl 5.005_03.
I have an ASP script that I am currently developing that sometimes after editing the script, it no long works. This is the error I get in the apache log:
[Sun Jan 11 19:44:02 2004] [error] [asp] [10575] [error] , /usr/local/lib/perl5/site_perl/5.005/Apache/ASP.pm line 1514
The HTML output of Debug = 2 is:
*_Errors Output_*
1. , /usr/local/lib/perl5/site_perl/5.005/Apache/ASP.pm line 1514
*_Debug Output_*
1. , /usr/local/lib/perl5/site_perl/5.005/Apache/ASP.pm line 1514
*_ASP to Perl Script_* <snip>
The standard HTML output of the failure is:
OK
The server encountered an internal error or misconfiguration and was unable to complete your request.
<snip>
How can I tell whats going wrong?
This script actually has no HTML - it is ASP only so it can share some global variables. When I comment out the ASP tags and run it from the command line, it executes and does whats expected. This module uses a module that I wrote, and Net::LDAP. The only thing maybe weird about it, is the module that I wrote also uses CGI.pm. Would this cause a problem?
Thanks for any help.. Tim
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]