Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- acl youtube_video url_regex -i ^http.*(youtube|googlevideo|all-nettools).*
- acl iphone browser -i regexp (iPhone|iPad)
- acl BB browser -i regexp (BlackBerry|PlayBook)
- acl Winphone browser -i regexp (Windows.*Phone|Trident|IEMobile)
- acl Android browser -i regexp Android
- request_header_access User-Agent deny youtube_video !iphone !BB !Winphone !Android
- request_header_replace User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.1; rv:21.0; en-US) AppleWebKit/533.20.25 (KHTML, like Gecko) Version/5.0.4 Safari/533.20.27 Chrome/27.0.1453.94 Gecko/20100101 Firefox/21.0 Googlebot/2.1 (+http://www.googlebot.com/bot.html)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement