Forum Discussion
IRULE to MATCH any URI after the HTTP HOST Header
Hi Mayur ,
When i browse to https://myjobrocks.com/xyz it HITS the F5 VIP and land on https://myjobrocks.com/xyz/home perfectly using below irule :
when HTTP_REQUEST {
if {([string tolower [HTTP::host]] equals "myjobrocks.com") && [HTTP::uri] starts_with "/xyz" }
{
node 1.1.1.1 443
}
Inside Home i have different PATH and when i click on that i can see the PATH are preserved in the browser but when that PATH is appended , the request change from https to http . i am NOT sure why is this happening . Also when i try to open .html page within Home , its stays as https BUT gets a error as below
Invalid redirect_uri
Error: 400
When i USe this irule :
when HTTP_REQUEST {
if {([string tolower [HTTP::host]] equals "myjobrocks.com") && [HTTP::uri] starts_with "/xyz" }
{
HTTP::uri "/xyz[HTTP::uri]
node 1.1.1.1 443
}
Nothing works and gets server error .
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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