Project

General

Profile

Feature #1268

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

Added by jrabbit over 12 years ago. Updated over 2 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
core
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Missing in 1.5.x:

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
}
#1

Updated by moo over 12 years ago

  • Status changed from New to Assigned
#2

Updated by eatnumber1 about 10 years ago

Any updates on this?

#3

Updated by gstrauss over 3 years ago

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

Updated by mot over 3 years ago

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

#5

Updated by gstrauss over 3 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
#6

Updated by gstrauss over 3 years ago

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

Updated by gstrauss over 2 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.

#8

Updated by gstrauss over 2 years ago

  • Status changed from Patch Pending to Fixed

Also available in: Atom