The .htaccess under stats dir:
AuthGroupFile /dev/null AuthName "Area statistiche" AuthType Basic AuthUserFile /home/xxxx/domains/xxxx.it/.htpasswd/public_html/stats/.htpasswd require valid-user
When I try to browse a page in the root dir, I am asked for authentication.
I am also thinking that all the pages include a file from stats directory (<noscript><img src="http://www.xxx.it/stats/php-stats.php" border="0" alt=""></noscript>). This may be the cause of the issue?