Forum Discussion
david_quint_204
Sep 25, 2008Nimbostratus
Thanks, I removed the https redirect to http and we still cannot get the url's to redirect to the new url's in the rule.
Is it possible to do a HTTP url redirect to a different url with matched conditions.
Here is the new iRule:
when HTTP_REQUEST {
switch -glob [HTTP::host] {
{"*newlifepubs.com"} {
HTTP::redirect "http://www.campuscrusade.com/nlp"}
{"*mpd.ccci.org"} {
HTTP::redirect "http://staffweb.ccci.org/mpd/index.aspx"}
{"*staffweb.org"} {
HTTP::redirect "http://staffweb.ccci.org"}
{"staff.ccci.org"} {
HTTP::redirect "http://staffweb.ccci.org"}
{"myspam.ccci.org"} {
HTTP::redirect "https://spam.frontbridge.com"}
{"cars.ccci.org"} {
HTTP::redirect "http://cds.ccci.org/carschoose.asp"}
{"*movementseverywhere.org"} {
HTTP::redirect "http://www.ccci.org"}
{"*movementseverywhere.net"} {
HTTP::redirect "http://www.ccci.org"}
{"*movementseverywhere.com"} {
HTTP::redirect "http://www.ccci.org"}
default {
discard
}
}
}