Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Perl
Perl Misc
Use perl in apache without #!/path/to/perl
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Kostas Hatzikokolakis, post: 4745506"] Hi, I want to set up apache to use the perl interpreter automatically for all .pl files, without the need to have a #!/path/to/perl directive in each file. This is beacause I want to use a winows machine to test some scripts created in linux, thus havind #!/usr/bin/perl instead of #!c:\Perl\bin\perl.exe. I tried the following in httpd.conf AddType application/x-httpd-perl .pl ScriptAlias /_pl/ "c:/perl/bin/" Action application/x-httpd-perl "/_pl/perl.exe" that should normaly do the trick (i configured php similarly) but I get the following error: [Sat Oct 18 15:22:16 2003] [error] [client 127.0.0.1] Premature end of script headers: perl.exe Does anyone have a solution to this problem? Thanks in advance. Kostas Chatzikokolakis [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Perl
Perl Misc
Use perl in apache without #!/path/to/perl
Top