Forum Discussion
ekaleido_26616
Cirrocumulus
This, maybe?
when HTTP_REQUEST {
if { [HTTP::path] equals "/test.cgi" } {
set queryString [HTTP::query]
HTTP::redirect http://[HTTP::host]/?$queryString
} else {
pool whatever_pool
}
}
minche22_258903
Apr 13, 2016Nimbostratus
i don't see why i need an else statement also, but your solution wont work on the second condition:
http://www.example.com/bla/bla/test.cgi
it will erase the full path....