On a D6 site I want a block that it visible only to visitors from a specific IP. If I choose Page specific visiblity settings
with the PHP code
<?php
if(strcmp(ip_address(),'1.2.3.4')==0) {
return true;
} else {
return false;
}
?>
it works fine on all pages, except for the front page.
How can I make this setting work also on the front page?
Is this snippet not executed on the front page?
Update: Or is this some caching issue? It's working on the front page, if I connect with https. But block caching is disabled on the site.