"Dennis G. Wicks" schreef:

> Apache requires the shebang line for cgi
> scripts and it must point to perl.

Unless you tell Apache to not look at the shebang.

Open your httpd.conf file and uncomment the line that reads
ScriptInterpreterSource registry

You are now free to include *nix style shebang lines in your scripts in
the sure knowledge that Windows Apache will not try to read them. Even
better, your code can now be moved to a different Windows box on which
Perl is installed in some nonstandard directory; as long as the box's
registry reflects that location, your scripts will run with no changes.

All this has nothing to do with Perl.

-- 
Affijn, Ruud

"Gewoon is een tijger."



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to