Actions
Bug #803
closednesting $HTTP["referer"] inside of $HTTP["url"] does not work
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
Updated by Anonymous over 17 years ago
- Status changed from Fixed to Need Feedback
- Resolution deleted (
fixed)
Updated by stbuehler about 17 years ago
- Status changed from Need Feedback to Fixed
- Resolution set to duplicate
Actions
Also available in: Atom