Forum Discussion
Phil_Rudich_735
Nimbostratus
Dec 05, 2007Redirect Issue
Having a small issue with my iRule. We are trying to first redirect any request that come in on port 80 to use https, then perform a host replace (see code below). However, when I hit the site, some...
hoolio
Cirrostratus
Dec 05, 2007Hi,
It looks like every request with a relative URI which makes it to your switch statement will match /* and get rewritten to /FOO[HTTP::uri], as all relative URIs start with /. If you want to match requests which are literally /, you can remove the asterisk.
Do you see any errors in the /var/log/ltm log file when a 'page not found' error occurs? Do you have any other iRules attached to the virtual server?
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
