@Kevin Stewart : I agree with your code but there is one part missing. This code replaces the logo, that's fine, but remember I don't have any pool defined behind. I need to fetch / proxify the rest of the THIRDPARTY login page in the irule.
@What Lies Beneath : I don't want a server to host an image, that's the purpose of iFiles AFAIK. I'll get HA of my BigIP cluster with iFiles.
@Brian : the request is going to hit my bigip because my customers will use www.mycompany.com login page when they connect to the application for the first time.
@all: users connect to my application (BigIP) FIRST. All the other requests after the login page will hit the THIRDPARTY websites.
Sorry if my explanation wasn't clear.
The workflow would be as follows:
1) customer hits www.company.com (note I say www.company.com to simplify. It can be myapplogin.company.com or whatever else)
2) bigips return my logo and the rest of the remote page ("reverse proxified")
3) customers enters login/pass and click submit.
4) the form is posted to the remote site (not going through my bigips anymore)
5) application is used as before
Maybe the best way is to forget the remote login page and create my own with iFiles. Create a login/password form, with my logo, and post what user enters to the remote form.
PS: I don't want to use APM, license is really too expansive.
Thanks all!