Project

General

Profile

Bug #1500

Conditions, empty code in condition, other action

Added by Anonymous over 12 years ago. Updated almost 4 years ago.

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

Description

That Works (access-deny works):


$HTTP["url"] =~ "^/static/cache/" {
   url.access-deny = ( ".jpg", ".jpeg", ".png" )
}

That Works not (access-deny doesn't work):


$HTTP["url"] =~ "^/static/cache/" {
   url.access-deny = ( ".jpg", ".jpeg", ".png" )
   $HTTP["referer"] == "" {
   }
}

The second config is the same, with only one more condition. But the condition does nothing. And the action is not the same as in the first example.

-- andihit

#1

Updated by gstrauss about 4 years ago

  • Description updated (diff)
  • Assignee deleted (jan)
  • Missing in 1.5.x set to Yes

FYI: this works properly in lighttpd 1.4.x (tested on lighttpd 1.4.40)

#2

Updated by gstrauss almost 4 years ago

  • Status changed from New to Obsolete

Also available in: Atom