Hi,
WHM/cpanel techs discovered this issue while investigating the reason for the htaccess protection not working on my site.
The .htaccess file in the /images folder is overriding the whm/cpanel .htaccess hotlink protection and allowing images to be hotlinked.
When the images/.htaccess file is removed the whm/cpanel .htaccess hotlink protection works as it should.
As soon the CRON /public_html/cli.php -C cron runs again it re-creates the images/.htaccess file and the images can be hotlinked again.
How can I edit the images/.htaccess file to allow the whm/cpanel protection to work as it should or how do I edit the CRON /public_html/cli.php -C cron from recreating the images/.htaccess file when it runs?
Any help is appreciated.
Thank you.
WHM/cpanel techs discovered this issue while investigating the reason for the htaccess protection not working on my site.
The .htaccess file in the /images folder is overriding the whm/cpanel .htaccess hotlink protection and allowing images to be hotlinked.
When the images/.htaccess file is removed the whm/cpanel .htaccess hotlink protection works as it should.
As soon the CRON /public_html/cli.php -C cron runs again it re-creates the images/.htaccess file and the images can be hotlinked again.
How can I edit the images/.htaccess file to allow the whm/cpanel protection to work as it should or how do I edit the CRON /public_html/cli.php -C cron from recreating the images/.htaccess file when it runs?
Any help is appreciated.
Thank you.