Project

General

Profile

Actions

Bug #736

closed

mod_cgi cgi.assign only works in first conditional configuration level

Added by Anonymous over 18 years ago. Updated over 17 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

Actions #1

Updated by jan over 17 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

Actions

Also available in: Atom