Project

General

Profile

Actions

Bug #803

closed

nesting $HTTP["referer"] inside of $HTTP["url"] does not work

Added by Anonymous over 18 years ago. Updated about 17 years ago.

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

Description

This works:

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

This works:

$HTTP["referer"] !~ "^($|http://www\.fussball-forum\.de)" {
     url.access-deny = ( ".jpg", ".jpeg", ".png", ".gif" )
}

This does not work:

$HTTP["url"] =~ "^/images/" {
  $HTTP["referer"] !~ "^($|http://www\.fussball-forum\.de)" {
     url.access-deny = ( ".jpg", ".jpeg", ".png", ".gif" )
  }
}

All requests will be served, none denied.

-- alisencer (ät) gmail.com

#5

Updated by jan over 17 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed
#6

Updated by Anonymous over 17 years ago

  • Status changed from Fixed to Need Feedback
  • Resolution deleted (fixed)
#7

Updated by stbuehler about 17 years ago

  • Status changed from Need Feedback to Fixed
  • Resolution set to duplicate
Actions

Also available in: Atom