#!/usr/bin/perl
if ($ENV{'HTTP_USER_AGENT'} =~ /MSIE/) {
print "Location: http://your.site.com/msie.version.html\r\n\r\n";
} elsif ($ENV{'HTTP_USER_AGENT'} =~ /^Mozilla/) {
print "Location: http://your.site.com/mozilla.version.html\r\n\r\n";
} else {
print "Location: http://your.site.com/some.other.browser.html\r\n\r\n";
}
Users browsing this forum: No registered users and 192 guests