Forum Discussion
Joe_Pipitone
May 19, 2015Nimbostratus
iRule - conflicting with IE
I have the following iRule which inserts headers for HSTS, checks 2 data group lists for "referer_check_filetypes" and "referer_allowed_hosts" - those are simply our websites and PDF file types which...
Joe_Pipitone
May 20, 2015Nimbostratus
I've commented out the line that is supposed to log referer_check_filetypes, and I'm seeing that the code is doing what it's supposed to - when someone requests a PDF and they're not from an allowed referrer host, it redirects them back to the homepage.
Rule /Common/irule-test : Host contains WWW. Redirect to 'https://sitename.com/'
Wed May 20 06:42:16 PDT 2015 info 1600A tmm[10278] Rule /Common/irule-test : Contains referer_allowed_hosts: 0
Wed May 20 06:42:16 PDT 2015 info 1600A tmm[10278] Rule /Common/irule-test : Referer Host: ''
Wed May 20 06:42:16 PDT 2015 info 1600A tmm[10278] Rule /Common/irule-test : Path: '/'
Wed May 20 06:42:16 PDT 2015 info 1600A tmm[10278] Rule /Common/irule-test :
Wed May 20 06:41:51 PDT 2015 info 1600A tmm1[10278] Rule /Common/irule-test : Redirect user to home page (http://sitename.com)
Wed May 20 06:41:51 PDT 2015 info 1600A tmm1[10278] Rule /Common/irule-test : Contains referer_allowed_hosts: 0
Wed May 20 06:41:51 PDT 2015 info 1600A tmm1[10278] Rule /Common/irule-test : Referer Host: 'www.google.com'
Wed May 20 06:41:51 PDT 2015 info 1600A tmm1[10278] Rule /Common/irule-test : Path: '/~/media/75CE5AEA5A85436BA819B26CF4CCA849.pdf'
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects