If you are happy to have all your perl run with the same flags
(e.g. -wT), you can configure Apache to ignore the shebang line
and use registry associations
Either with a global
ScriptInterpreterSource registry
or on a per-directory basis
... other options snipped...
awared of
the operators.
Nestor :-)
- Original Message -
From: "Robert Howard" <[EMAIL PROTECTED]>
To: "'Alan C.'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 4:52 PM
Subject: RE: shebang line that works for multiple Perl
Hi,
>linux. The suggestion of putting #!perl on NT for Apache seems to
>require perl to be in the path (though I haven't tested). Nor did
The following topic is limited to Windows NT, path, and Apache
Yes, that *does require that perl be in the path statement (windows)
On my windows, perl is
Special need is to have the script run under apache on both NT and
linux. The suggestion of putting #!perl on NT for Apache seems to
require perl to be in the path (though I haven't tested). Nor did
I test setting mime or whatever in Apache to see if it would pick
it up.
Again, default Apac
AFAIK, the shebang line is ignored on Windows and Macintosh systems,
maybe not on MacOS X systems.
Security should not be obtained by hiding the location of perl.exe. This
is not the reason. There are some "standard" locations, i. e. some
locations are widely used. User friendly configured web se
it at all.
>
>R.A. Howard
>
>-Original Message-
>From: Alan C. [mailto:[EMAIL PROTECTED]]
>Sent: Sunday, January 27, 2002 5:27 PM
>To: [EMAIL PROTECTED]
>Subject: Re: shebang line that works for multiple Perl binary locations
>
>Hi,
>
>I'm a newbie *ditt
>
>I think the line
>>is needed for Apache on NT. Maybe it can be configured in mime-types
>
>I've been told that at minimum
>
>#!perl
>
>is needed for Apache on Win NT
>
>unless you change the Apache configuration
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
al Message-
From: Alan C. [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 27, 2002 5:27 PM
To: [EMAIL PROTECTED]
Subject: Re: shebang line that works for multiple Perl binary locations
Hi,
I'm a newbie *ditto* I'd like to find for same as per your request
But I'm guessing that abil
Hi,
I'm a newbie *ditto* I'd like to find for same as per your request
But I'm guessing that ability to find perl anywhere might be a security
concern.
On my local (localhost Apache Win NT) machine I've been using
#!/perl/bin/perl
But when I upload then the Unix server needs something like
I am new to this list, so sorry if this has been covered already.
Is there any way to set up a shebang line that checks multiple potential
perl locations? Perl is in different places on different machines I access,
but I would like the scripts to run anywhere, even as CGI.
For instance a sample
10 matches
Mail list logo