Project

General

Profile

Actions

Feature #1268

closed

condition should be optional in "else" clause in configuration file

Added by jrabbit over 17 years ago. Updated over 7 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description

The conditional configuration construct:


<field> <operator> <value> {
  ...
}
else <field> <operator> <value> {
  ... the "else if" block
}

would be more useful if it allowed a bare "else" with no condition - i.e.


<field> <operator> <value> {
  ...
}
else <field> <operator> <value> {
  ... the "else if" block
}
else {
  ... the "else" block
}
Actions #1

Updated by moo over 17 years ago

  • Status changed from New to Assigned
Actions #2

Updated by eatnumber1 almost 15 years ago

Any updates on this?

Actions #3

Updated by gstrauss over 8 years ago

  • Description updated (diff)
  • Assignee deleted (moo)
  • Target version deleted (1.5.0)
Actions #4

Updated by mot about 8 years ago

I'd also be interested in seeing this feature be implemented!

Actions #5

Updated by gstrauss about 8 years ago

  • Subject changed from condtion should be optional in "else" clause in configuration file to condition should be optional in "else" clause in configuration file
  • Status changed from Assigned to Patch Pending
  • Target version set to 1.4.42
Actions #6

Updated by gstrauss about 8 years ago

  • Status changed from Patch Pending to Fixed
  • % Done changed from 0 to 100
Actions #7

Updated by gstrauss over 7 years ago

  • Status changed from Fixed to Patch Pending
  • Target version changed from 1.4.42 to 1.4.46

This new feature never worked properly due, due to a missing member assignment. It will be fixed in lighttpd 1.4.46.

Actions #8

Updated by gstrauss over 7 years ago

  • Status changed from Patch Pending to Fixed
Actions

Also available in: Atom