I'm having difficulty using the -T switch with perl in the #! line in cgi
scripts on my Win2K system using a Netscape 4.1 web server.If I use
something like "#!c:/perl/bin/perl.exe -wT" on the 1st line, the server
complains with an HTTP500 error about the script not producing valid
headers.
]
cognosys@yahcc:
oo.com Subject: Using -T (taint) in perl scripts
on Win32
:25 PM
Subject: Re: Using -T (taint) in perl scripts on Win32
What does the web server log file say that the problem is. The web server
log should contain something much more useful than a 500 error...
I am guessing that you are getting an insecure dependency or some type of
error like
]
Sent: Friday, March 01, 2002 6:27 PM
Subject: Re: Using -T (taint) in perl scripts on Win32
Blank produces valid HTML with no errors.
so you're saying it is printing a valid header? like this:
Content-type: text/html
HTML STUFF HERE