Project

General

Profile

Bug #1500

Conditions, empty code in condition, other action

Added by Anonymous over 11 years ago. Updated about 3 years ago.

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

0%

Estimated time:
Missing in 1.5.x:
Yes

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

History

#1

Updated by gstrauss about 3 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 about 3 years ago

  • Status changed from New to Obsolete

Also available in: Atom