Forum Discussion
smiley_dba_1116
Nimbostratus
13 years agoRedirect while preserving the locale
Can this happen. For example, if someone goes to abc.com/ca-en, it gets redirects to def.com/ca-en, basically preserving the uri. Or if someone goes to abc.com/fa-en, it automatically gets redirected...
- 13 years ago
when HTTP_REQUEST { if { [string tolower [HTTP::host]] equals "abc.com"} { HTTP::redirect "http://def.com[HTTP::uri]" }}
dlg_23340
Cirrus
13 years agowhen HTTP_REQUEST { if { [string tolower [HTTP::host]] equals "abc.com"} { HTTP::redirect "http://def.com[HTTP::uri]" }}