Project

General

Profile

Bug #736

closed

mod_cgi cgi.assign only works in first conditional configuration level

Added by Anonymous over 14 years ago. Updated about 13 years ago.

Status:
Fixed
Priority:
Low
Category:
mod_cgi
Target version:
ASK QUESTIONS IN Forums:

Description

When i moved my cgi.assign statement from


$HTTP["host"]=~"(configuration\.apple\.com|syncmgmt\.mac\.com|idisk\.mac\.com|www\.mac\.com|idisk\.zaphods\.net)" {
 $HTTP["url"]=~ "/WebObjects" {
  cgi.assign = (
   "/WebObjects/Info.woa/wa/Query/accountInfo" => "/bin/bash",
   "/WebObjects/Info.woa/wa/Query/retrieveDiskConfiguration" => "/bin/bash",
   "/WebObjects" => "/bin/bash",
  )
 }  
}

one level down to inside the first conditional it finally worked. Not much of a problem but that behaviour is undocumented.

Zap

-- zaphodb

#1

Updated by jan about 13 years ago

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

Depending on the modules loaded $HTTPurl might not work as expected.

Fixed r1942

Also available in: Atom