Jens Müller: perl-Pfad unter Apache/Windows

Beitrag lesen

Hallo Mazze,

Kennt jemand eine Apache-Konfigurationseinstellung oder einen Trick, diesen Pfad zu faken, dass ich mir das leidige Umändern spare?

Suche in der Datei 'httpd.conf' nach
#ScriptInterpreterSource registry

Zusaetzlich hierzu kannst du auch noch eine Direktive aus der httpd.conf einsetzen.

Apache parses all CGI scripts for the shebang line by default.

This comment line, the first line of the script, consists of the symbols

pound (#) and exclamation (!) followed by the path of the program that

can execute this specific script.  For a perl script, with perl.exe in

the C:\Program Files\Perl directory, the shebang line should be:

#!c:/program files/perl/bin/perl.exe

Ganz abwegig aber es laueft,
du kannst mit dem Apache auf Win, dir auch ein aehnliches System wie auf UNIX Zusammenschustern. "/usr/bin/perl" Interpretiert der Indianer z.B. als c:\usr\bin\perl.exe.

gruesse
  jens mueller