Skip Menu |
 

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 54813
Status: resolved
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: csjewell [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Help out Apache when installing Strawberry (maybe option?)
Download (untitled) / with headers
text/plain 406b
<mkanat> CSJewell: It might also be nice for the installer to set HKEY_CLASSES_ROOT\.cgi\Shell\ExecCGI\Command to C:\strawberry\perl\bin\perl.exe if it's not already set. <mkanat> CSJewell: That's how Apache runs mod_cgi scripts on Windows. <mkanat> (If they don't have the right hashbang line.) <mkanat> (At least, if you set ScriptInterpreterSource registry-strict.) <mkanat> Maybe with a %* at the end.
Adding link to Bugzilla's bug tracker for the reason for this (as well as a few other things).
Download (untitled) / with headers
text/plain 490b
On Fri Feb 19 18:42:50 2010, CSJEWELL wrote: Show quoted text
> <mkanat> Maybe with a %* at the end.
Okay, yeah, so it looks like the %* isn't necessary. One problem for Bugzilla is that we have to put a -T switch on the line, since our scripts run in taint mode. Apache actually fails if the - T isn't specified. -t also works, but if you always specified that for every application, they might full up the Apache error log and start to run really slowly (because Apache will throttle log writes).
Download (untitled) / with headers
text/plain 489b
On Fri Feb 19 18:42:50 2010, CSJEWELL wrote: Show quoted text
> <mkanat> CSJewell: It might also be nice for the installer to set > HKEY_CLASSES_ROOT\.cgi\Shell\ExecCGI\Command to > C:\strawberry\perl\bin\perl.exe if it's not already set. > <mkanat> CSJewell: That's how Apache runs mod_cgi scripts on Windows. > <mkanat> (If they don't have the right hashbang line.) > <mkanat> (At least, if you set ScriptInterpreterSource registry-strict.) > <mkanat> Maybe with a %* at the end.
s/.cgi/.pl/, as well.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.