Project

General

Profile

Actions

Bug #1582

closed

can't start perl programs with execwrap via module mod_cgi

Added by Anonymous about 16 years ago. Updated over 15 years ago.

Status:
Invalid
Priority:
Normal
Category:
mod_cgi
Target version:
ASK QUESTIONS IN Forums:

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

Actions #1

Updated by stbuehler about 16 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.

Actions #2

Updated by stbuehler over 15 years ago

  • Status changed from Fixed to Invalid
Actions

Also available in: Atom