Forum Discussion

DaveC_53879's avatar
DaveC_53879
Icon for Nimbostratus rankNimbostratus
Jul 29, 2011

Inserting 301 returns blank page

The rule below returns a 301 but it also returns a blank page, so somehow my redirect to "http://synergycitizens.org[HTTP::uri]" isn't working. The host names below are not real, but the rule below accurately reflects my existing rule. What am I missing here? Thanks.

 

 

when HTTP_REQUEST {

 

switch -glob [string tolower [HTTP::host]] {

 

"www." -

 

"synergycitizens.net" -

 

"synergycitizens.com" -

 

"synergycitizens.mobi" -

 

"synergycitizens.net" -

 

"citizensforsynergy.org" -

 

"citizensforsynergy.net" -

 

"citizensforsynergy.com" -

 

"synergyscitizen.org" -

 

"synergyscitizen.com" -

 

"synergycitizen.net" -

 

"synergycitizen.com" -

 

"synergy-citizen.org" -

 

"synergy-citizen.net" -

 

"synergy-citizen.com" -

 

"synergy-citizens.org" -

 

"synergy-citizens.net" -

 

"synergy-citizens.com" -

 

"synergycitizen.org" { HTTP::respond 301 "http://synergycitizens.org[HTTP::uri]" }

 

}

 

}