Project

General

Profile

Bug #1582

can't start perl programs with execwrap via module mod_cgi

Added by Anonymous over 11 years ago. Updated almost 11 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
mod_cgi
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

Description

I can't start perl programs with execwrap via module mod_cgi. Piece of my config:

setenv.add-environment = (
"UID" => "505",
"GID" => "505",
"TARGET" => "/www/start.sh",
"CHECK_GID" => "1"
)
cgi.assign                 = ( ".pl"  => "/www/execwrap",
".cgi" => "/usr/bin/perl" )

www$ /www/execwrap -V
ExecWrap v0.3 by Sune Foldager.
Compile-time configuration:
PARENT_UID : 502
TARGET_MIN_UID : 502
TARGET_MIN_GID : 502
TARGET_PATH_PREFIX : /www/
DEFAULT_UID : 502
DEFAULT_GID : 502

cat /www/start.sh

#!/bin/sh

/usr/bin/perl

When open in browser any script with extension .pl, I see a blank screen. How to solve problem? In my situation I can't use FastCGI. I need to solve problem with mod_cgi.

-- sinko500

History

#1

Updated by stbuehler over 11 years ago

  • Status changed from New to Fixed
  • Resolution set to invalid

A bugtracker is not a support forum.

You cannot just start perl with nothing, you have to start it with the filename of you script which is the first argument your script gets called with.

#2

Updated by stbuehler almost 11 years ago

  • Status changed from Fixed to Invalid

Also available in: Atom