Forum Discussion
LyonsG_85618
Jan 22, 2013Cirrostratus
Nitass - thanks for response.
Not sure I follow this though ?
% set uri "/123456789/testsite1"
/123456789/testsite1
% scan $uri {/%*[^/]%s} real
1
% put $real
/testsite1
I was looking at doing this
if {[HTTP::uri] starts_with "/xxl"} {
HTTP::uri [string range [HTTP::uri] 9 end]
Which would mean they would need to start their random string withh xx and IRULE would strip off the characters.
I could then add this back in under HTTP response?