J
joe
Hi there!
Can anyone help me out here. I run my CGI-scripts locally on a Windows
machine. In the shebang line I put #!c:\www\Perl.exe, but it's also possible
to use only #!perl. On my virtual webserver at my ISP's Unix machine I have
to use #!/usr/bin/perl.
The problem is that everytime I upload a script, I have to change the
shebang line from Windows-mode to Unix-mode.
Since the #!perl version sounds pretty universal, I was wondering whether it
is possible to make some sort of link: when 'perl' is requested, Apache
redirects to #!/usr/bin/perl. Or something else to accomplish the same
effect. My ISP doesn't know how to do this, without having to move the
Perl-module completely.
I'd be very gratefull if anyone could help me out!
Tia,
Joe
Can anyone help me out here. I run my CGI-scripts locally on a Windows
machine. In the shebang line I put #!c:\www\Perl.exe, but it's also possible
to use only #!perl. On my virtual webserver at my ISP's Unix machine I have
to use #!/usr/bin/perl.
The problem is that everytime I upload a script, I have to change the
shebang line from Windows-mode to Unix-mode.
Since the #!perl version sounds pretty universal, I was wondering whether it
is possible to make some sort of link: when 'perl' is requested, Apache
redirects to #!/usr/bin/perl. Or something else to accomplish the same
effect. My ISP doesn't know how to do this, without having to move the
Perl-module completely.
I'd be very gratefull if anyone could help me out!
Tia,
Joe