Forum Discussion
GavinW_29074
Nov 22, 2011Nimbostratus
ProxyPass V10 iRule issues...
Hi there,
I'm trying to set-up the ProxyPass v10 iRule from here (http://devcentral.f5.com/wiki/iRules.ProxyPassV10.ashx), and I'm hitting a few issues with Firefox...
It's proba...
GavinW_29074
Feb 06, 2012Nimbostratus
Posted By Opher Shachar on 02/06/2012 01:05 AM
About those 'maintenance_window' and 'default redirect' ...
This module 'ProxyPass' was intended to simulate the Apache ProxyPass and ProxyPassReverse directive.
As such, and for good measure, the iRule should confine itself to what it was designed for.
Obviously when you maintain a private copy you are free to do whatever suites you but,
for a module that is to be generally useful, it cannot incorporate the aforementioned features.
Same is true for your added 'if' on line 266: it breaks the intended use of rewriting host and/or uri.
Cheers,
Opher.
Opher,
Agreed with regards Maintenance_Window... Meant to strip that out as it's very specific to our set-up...
As regards 'Default redirect', whilst I agree it's not strictly a ProxyPass function, the ability to redirect a user hitting the root of the VIP to a valid application URL is a fundamental Apache function that I, and I suspect a lot of other people used in conjunction with ProxyPass, either using mod_rewrite or a HTML redirect page... However am happy to conform to whatever the wider consensus is.
As regards line 266, as discussed in the linked topic, I found that the rule wasn't behaving as I'd expect it to when there were no host elements being re-written.
However as per the other topic I haven't confirmed as to whether it has any wider impact...
Will however try it with the amendments you've made to see if it changes things...
Regards
Gavin
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