<%@language="PerlScript"%> <% if ($Request->ServerVariables("SERVER_NAME")->item =~ /rentaspot/ig) { %> Sitemap: http://www.rentaspot.co.za/sitemap.xml.gz <% } elsif ($Request->ServerVariables("SERVER_NAME")->item eq "thepropertymag.rentaspot.local") {%> Disallow: * Disallow: /* <% } elsif ($Request->ServerVariables("SERVER_NAME")->item eq "thepropertymag.privateproperty.co.za") { %> Disallow: * Disallow: /* <% } elsif ($Request->ServerVariables("SERVER_NAME")->item =~ /rentals\./ig) { %> Disallow: * Disallow: /* <% } %>