remote_ip based "reditect", urgent work pending ? plz help

hi all,

i'm trying to do a redirect script that will send every body with ip address of
193.188.whatever*.whatever* to a page called "193.htm"

Ps. my visitors are behind a firewall,
that's why i perefer to use remote_addr in stead of remore_host ?

thank you all .

Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

jhurstConnect With a Mentor Commented:

if ($ENV{REMOTE_ADDR} =~ /^193\.198\./) #the specific host
  {print "Location:\n\n";

print <<EOT;
Content-type: text/html


All Courses

From novice to tech pro — start learning today.