Zeus 301 redirect

Add the following to rewrite.script:

match URL into $ with (.*)
set SCRATCH:COND = %{IN:Host}
match SCRATCH:COND into % with ^domainname\.co\.uk
if not matched then goto RULE_0_END
set URL = http://www.domainname.co.uk$1
set RESPONSE = 301
set OUT:Location = %{URL}
set BODY = Please try <a href=”%{URL}”>here</a> instead\n
RULE_0_END:

You can leave a response, or trackback from your own site.

Leave a Reply