Forum Discussion
Jim_Betts_47293
Nimbostratus
Mar 25, 2008URL rewrite frustration
Howdy All:
After spending at least 4 hours searching DevCentral and dozens of attempts at trying to code the rules I need some help.
I have a web server (actually a Tumbleweed Secu...
Jim_Betts_47293
Nimbostratus
Mar 26, 2008Dear Weismann:
The screen shot you attached pointed me in the right direction. The only further difficulty I encountered was that the system was doing redirects to "http://xxxx" rather than simply specifying the URI. I overcame this difficulty with this less than miraculous code:
when HTTP_RESPONSE {
if { [HTTP::status] contains "302" and $Target_URI starts_with "/messenger"} {
set location [HTTP::header value Location]
regsub {http:} $location "https:" newLocation
HTTP::header replace Location "$newLocation"
}
}
Again, thank you for your kind assistence.
Jim
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
