[Xitami] Shebang #! question on win98

dimitri xitami@lists.xitami.org
Tue, 26 Jun 2001 10:52:22 +0100


Hi all,

I have reinstalled xitami beta for win98, and got vhosts running (and ssi -
thanks all for your patience with that stupid problem I thought I had).
I am testing and compiling sites using these addresses - http://anyname/

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, and this will
not work on Xitami. I have found the following information below under the
help/configuration documents, and wondered how I could allow these scripts
to work if at all - would I have to use aliases or something similar?

can I ultimately configure different sites to use their respective
'Shebang's' despite running on win98 se?

Please help, otherwise I may have to go back to trying to use lumbering
Apache again for the 4th time :o(

---------------------

What's the equivalent of the shebang ("#!") syntax for Win32?
Unfortunately, Win32 platforms don't provide the shebang syntax, or anything
like it.

Although Win32 systems themselves don't use the shebang, the Apache
webserver does. If you are using the Apache webserver on your Win32 system
you should put the shebang line at the top of your CGI scripts.

Your shebang line should look something like:

 #!perl
---------------------
Dimitri  - dimitri@easygoin-spam.net - remove -spam to mail
- True Immortality is a sharing of knowledge & Ideas, not spam -