Bob Showalter wrote:
Jenda Krynicky wrote:

From: "Bob Showalter" <[EMAIL PROTECTED]>

Vic wrote:

I wanna ask when running Apache 2.046 under Windows XP with
mod_cgi, how can I turn on the taint mode for the Perl
interpretor? (i guess the shebang line wont work since windows
nvr look at them anyway.)

So it would have to be Apache who would parse the line and pass the -
T to perl.exe when starting it.


Apache's ScriptInterpreterSource directive may be the answer here.

http://httpd.apache.org/docs/mod/core.html#scriptinterpretersource

I don't have a Win32 Apache handy, so I'm not sure.
Thx for all your help!
After reading that page, I guess #! /perl -wT does work, just that this
is handled through Apache.
Just curious, is there a way to test if the script is running under taint mode?



-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to