Ticket #736 (closed defect: fixed)

Opened 2 years ago

Last modified 13 months ago

mod_cgi cgi.assign only works in first conditional configuration level

Reported by: zaphodb@… Owned by: jan
Priority: low Milestone: 1.4.17
Component: mod_cgi Version: 1.4.11
Severity: minor Keywords:
Cc: Blocked By:
Need User Feedback: no Blocking:

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

Attachments

Change History

Changed 13 months ago by jan

  • status changed from new to closed
  • resolution set to fixed
  • pending unset
  • milestone set to 1.4.17

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

Fixed [1942]

Add/Change #736 (mod_cgi cgi.assign only works in first conditional configuration level)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.