httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <cove...@gmail.com>
Subject Re: [users@httpd] Apache Perl/CGI Question
Date Fri, 09 Jan 2009 16:15:24 GMT
On Fri, Jan 9, 2009 at 10:53 AM, G√ľnther Kastenfrosch
<gkastenfrosch@googlemail.com> wrote:
> Hi guys.
>
> After googleing for hours I realized my problem ist too specific to
> easily find proper solutions on the web. But I'm sure that there's
> someone on this list who could help me if there really is a chance.
>
> So here's what I want to do:
>
> We have an development server with a running apache2.2 on windows
> server 2003. Perl via CGI is working properly. But: we would like not
> to set the path to the perl.exe via shebang-line.
>
> This is mainly because different people are working on the same .pl
> file, but want to use different perl executables (5.6, 5.8, 5.10).
>
> I would like to set the interpreter not via a shebang-line but
> somewhere in the vhost settings.
>
> I already tried setting setting something like this in ScriptAlias
> cgi-bin directory:
>
>> AddHandler myPerlFile .pl
>> Action myPerlFile "C:/Perl/bin/perl.exe"

Action specifies a URL-path, not a filesystem path

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message