Ok, I will explain what works and not working:
Without AccessList = deny homeip
I tested full url with redirect script (http://www.mydomain.com/cgi-bin/redirect.cgi). That script worked fine and able to redirect automatically. No empty page.
With AccessList = deny homeip
Tested and unable to automatically redirect. Just empty page showed up.
Also, tested full url with redirect script and empty page still showed up.
Here's the simple CGI equivalent of a HTML redirect page:
#!/usr/local/bin/perl
print "Location: http://www.google.com\n\n";
I typed: perl /var/www/mydomain/cgi-bin/redirect.cgi
It showed:
Location: http://www.google.com
Current perl version: 5.24
Thanks,