Forum Discussion
Stealth Redirection of website from another website (Third Party)
Hello Guys!
We are having some request to get the contents from another website and place it on ours ( "a part" of the third party website belongs to our company however it is being manage by the website/app owner - not from our company). Example:
When the user type example.f5.com she will see content on example.google.com
is in our F5 however the other webiste which is example.google.com is not. This is being manage by the website owner in which we didn't have control.
Can you suggest if it is possible to do it on our side 🙂
Thank you!
- Maneesh_72711
Cirrostratus
- cathy_123
Cirrostratus
Thank you for your response Maneesh!
Per checking they are hosting the website, where in my case we didn't :( its like a null website () copying the contents of the original website example.google.com.
If we are the one who handles the example.google.com I think we can use this "; However in my case its the other way around. :(
Thank you!
- Maneesh_72711
Cirrostratus
Then doubt if there is a way around it, copying a third party websites content and display it on your webpage.
- cathy_123
Cirrostratus
yeah i think so too :( Well I opened ticket regarding this on F5 lets hope for the best :)
Thanks Maneesh
- JG
Cumulonimbus
Attach a OneConnect profile to the vs, and use an irule such as the following:
when HTTP_REQUEST { catch {LB::detach} switch -glob [string tolower [HTTP::path]] { "/f5_url*" { pool example.f5.com } "/google_url*" { HTTP:header replace Host "google_host_name" node google.address 80 } } }
(Untested.)
- JG
Cumulonimbus
I thought you meant the content of example.google.com formed part of the content of , but now it seems it's the full site.
You can set up a dedicated vs to pass all traffic to example.google.com, but you should want to rewrite the request "Host:" header to "example.google.com":
when HTTP_REQUEST { HTTP:header replace Host "example.google.com" }
You probably will also need to get your routing right to make this work.
- FMA
Nimbostratus
Hola,
- Create a pool [pool_example.google.com] where destination is(are) server(s) hosting example.google.com (this can be either IP of FQDN depending on your LTM software version)
-
Apply iRule to your VIP:
when HTTP_REQUEST { if {([string tolower [HTTP::host]] starts_with "example.f5.com")}{ HTTP::header replace Host "example.google.com" pool pool_example.google.com }
Recent Discussions
Related Content
* 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