Forum Discussion
Ryan_M
Nimbostratus
Mar 17, 2008http::host is not populated
It's my first iRule, and I know the answer's going to make me feel stupid, so please be gentle...
I'm trying to do a simple redirect to https. I created two virtual servers with the same IP...
Ryan_M
Nimbostratus
Mar 17, 2008Wow. If I understand you correctly, then this is a valuable lesson in many ways. I was convinced that http_host was set by the server, not by the client; however, it appears I'm wrong.
I switched the VS back to my original iRule, and the VS, surprisingly, went Green. It appears I've just been impatient with the iRule.
However, I'd rather not redirect the user to a ip address if it's blank... Is there a way to get at the server_name then?
Thanks for the help!
Ryan
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
