RE: shebang line that works for multiple Perl binary locations

2002-02-01 Thread Michael Dreksler
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...

Re: shebang line that works for multiple Perl binary locations

2002-01-29 Thread Nestor Florez
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

Re: shebang line that works for multiple Perl binary locations

2002-01-29 Thread Alan C.
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

Re: shebang line that works for multiple Perl binary locations

2002-01-29 Thread John
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

Re: shebang line that works for multiple Perl binary locations

2002-01-29 Thread Stephan Tinnemeyer
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

RE: shebang line that works for multiple Perl binary locations

2002-01-28 Thread John
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

Fwd: RE: shebang line that works for multiple Perl binary locations

2002-01-28 Thread Alan C.
> >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:

RE: shebang line that works for multiple Perl binary locations

2002-01-28 Thread Robert Howard
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

Re: shebang line that works for multiple Perl binary locations

2002-01-27 Thread Alan C.
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

shebang line that works for multiple Perl binary locations

2002-01-27 Thread John
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