[Xitami] Shebang #! question on win98
Ewen McNeill
xitami@lists.xitami.org
Tue, 26 Jun 2001 22:45:19 +1200
In message <001801c0fe25$c28f7340$01000084@triggerhippie>, "dimitri" writes:
>all ok so far, but - the cgi and perl scripts in my cgi-bin all have the #!
>usr/bin/perl
>path, which I wish to keep as the original host's environment,
Xitami is even more generous than Apache: providing the #! line _ends_
with "perl", _and_ the perl binary is on the Path, Xitami will run it.
(It tries the exact path first, and if that is not found, it strips off
the path name, and tries that instead.)
So put perl in c:\perl, and add c:\perl\bin to your path, then start
Xitami. And your #!/usr/bin/perl lines should work just fine.
Ewen
--
Ewen McNeill, Technical Consultant, iMatix Corporation www.imatix.com