Order Deny,Allow Deny from all Allow from myservername.here.com Allow from localhost #### my $q = CGI->new(); my $remote_host = $q->remote_host();