Forum Discussion
Leslie_South_55
Nov 06, 2008Nimbostratus
HTTP::respond + append URI from HTTP::request
I am using the sample for HTTP::respond 301 from http://devcentral.f5.com/Wiki/default.aspx/iRules/findclass.html
I need to be able to grab anything after the host and append this to th...
hooleylist
Nov 07, 2008Cirrostratus
If the third field in the class don't have a trailing slash, then you shouldn't see a double slash in the redirect unless the requested URI had two slashes
"host1.domain.com 302 https://securehost.domain.com"
Can you check that https://securehost.domain.com doesn't have a trailing slash?
If it doesn't and you still see two slashes, can you add logging of each component of the redirect?
log local0. "HTTP::respond \[getfield $row " " 2\] Location \[getfield $row " " 3\]\[HTTP::uri\] Connection Close:\
HTTP::respond [getfield $row " " 2] Location [getfield $row " " 3][HTTP::uri] Connection Close"
Aaron
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