Project

General

Profile

Actions

Bug #1500

closed

Conditions, empty code in condition, other action

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

Actions #1

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

Actions #2

Updated by gstrauss over 7 years ago

  • Status changed from New to Obsolete
Actions

Also available in: Atom