Forum Discussion
Raymond_Cheung_
Nimbostratus
Apr 08, 2005Can I search and replace part of the uri with irule?
For example
HTTP/1.1 302 Redirect
Date: Fri, 08 Apr 2005 01:01:13 GMT
Server: Microsoft-IIS/6.0
Location:
https://xxx.xxx.net/obrareq.cgi?t%3D0%20o%3D%20no%3D%20r%3D%2
0nr%3D%20wu%3D%2Fportal%2Fsso%2FSSOLogin.aspx%20wh%3Dx.x.x.x%20wo%
3D1%20wa%3D15%20ws%3D20050407T15590585129%20rh%3Dhttp%3A%2F%2Fx.x.x.x%20ru%3D%252Fportal%252Fsso%252FSSOLogin.aspx%3F
Content-Length: 0
Set-Cookie: BIGipServerxxx_xxx=17460746.20480.0000; expires=Sat, 09-Apr-2005 01:02:45 GMT; path=/
I need the "http" within the uri be "https"
To
https://xxx.xxx.net/obrareq.cgi?t%3D0%20o%3D%20no%3D%20r%3D%2
0nr%3D%20wu%3D%2Fportal%2Fsso%2FSSOLogin.aspx%20wh%3Dx.x.x.x%20wo%
3D1%20wa%3D15%20ws%3D20050407T15590585129%20rh%3Dhttps%3A%2F%2Fx.x.x.x%20ru%3D%252Fportal%252Fsso%252FSSOLogin.aspx%3F
Is there a way I can do that?
I am really new on iRule, please help!
1 Reply
- JRahm
Admin
This post should steer you in the right direction. Click here
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