Forum Discussion
gr0x_33657
Nimbostratus
Nov 13, 2008Rewrite Rule
Im am currently using heicontech rewrite software to apply the following rule,
RewriteRule ^/(ca)-(eng|fre)/(card)/?$ /$2/store/redirect.cfm?sectionID=etc/gift/display.cfm=$3 [I,L]
...
hwidjaja_37598
Altostratus
Nov 13, 2008can you try this out:
when HTTP_REQUEST {
if {[regsub {^/(ca)-(eng|fre)/(card)/} [HTTP::uri] \
{/\2/store/redirect.cfm?sectionID=etc/gift/display.cfm=\3} \
newUri]} {
HTTP::redirect http://[HTTP::host]$newUri
}
}
I'm not really sure on what your RewriteRule does as I don't have much exposure with mod_rewrite. If the iRules didn't work, pls let us know what your RewriteRule does.
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
