Apache Perl/CGI Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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"

but on calling /cgi-bin/test.pl apache returns:

> The requested URL /Perl/bin/perl.exe/cgi-bin/test.pl was not found on this server.

log entry:

> [Fri Jan 09 16:43:18 2009] [error] [client xx.xx.xx.xx] File does not exist: c:/documentroot/Perl

I'm not sure if this is the way to do what I want to, nor I'm sure
that it's possible.

So my request in one sentence:
Is it possible to set different vhosts to call the same .pl file via
cgi using different perl executables?

Thanks for your help,

Günther

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux