Forum Discussion
Lolo_17756
Nimbostratus
Feb 08, 2010iRule Rewrit URI
Hello i' m has newbee in BigIp world.
I need to modify an URI in the following way:
URi Users = https://hostname/(S(session number))/blabla/blabla.xxx
It i...
Lolo_17756
Nimbostratus
Feb 09, 2010It's OK and i have add filter on file extention:
when HTTP_REQUEST
{
set url [HTTP::uri]
if {[string tolower $url] matches_regex {/\(s\(.*\.(gif|js|css|jpg|bmp)}}
{
scan [HTTP::uri] {/%[^/]%s} session_id uri_to_save
Rewrite the URI without the session ID
log local0. "$session_id"
HTTP::uri $uri_to_save
}
}
Thanks all
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