Forum Discussion
Need help with URL re-write without a redirect
- Apr 20, 2022
you would need to work with the application team to find out which URL's are returning 404 and reason for it. Modify your iRule accordingly to resolve it
Hi,
I have made some progress and it turned out that endpoint was enforcing HTTPS and sending a redirect response. Hence client was receiving a redirect over https which changed the URL. After disabling https redirection, endpoint is serving content over http to F5 and re-write is working.
Now, the webpage is loading without changing the original URL in the browser but majority of the content is getting error code 404 not found.
I think this is probably because the https request header is using "abc.domain.com" for all the content instead of "abc4.domain4.com" and these URI doesn't match the condition for re-writing the hostname. Is there a way F5 can serve all content using "abc.domain.com" for this particular re-write or do we need to add all the content URIs for re-write??
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