how to whitelist a file?
-
I am seeing this in my logs:
[Tue May 26 18:31:35 2015] [error] [client 96.52.60.127] client denied by server configuration: /srv/www/appsquire.com/httpdocs/wp-content/t
hemes/appdev/css/skins/skin.php, referer: https://appsquire.com/
[Tue May 26 18:31:35 2015] [error] [client 96.52.60.127] client denied by server configuration: /srv/www/appsquire.com/httpdocs/wp-content/p
lugins/bulletproof-security/403.php, referer: https://appsquire.com/the skins.php file appears to be legit? if so, how do i whitelist it, so this stops spamming my logs on every legitimate site visit?
<?php
$skin = $_GET[‘skin’];
header(“Content-type: text/css; charset: UTF-8”);
if (empty($skin))
$skin = ‘default’;$output = <<<HTML
.toggle-label { background-image: url(“{$skin}/toggle-button-plus.png”); }
.active-toggle .toggle-label { background-image: url(“{$skin}/toggle-button-minus.png”); }
.pricing-table .plan-details li i.tick { background-image: url({$skin}/tick.png); }
.pricing-table .plan-details li i.cross { background-image: url({$skin}/cross.png); }
.contact-form .button i.send { background-image: url({$skin}/send-icon.png); }
#featured-sources .heading2 .title { background-image: url({$skin}/featured-icon.png)}
.tp-bullets.simplebullets.round .bullet { background-image: url({$skin}/bullet.png); }
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
.pricing-table .plan-details li i.tick { background-image: url({$skin}/[email protected]); }
.pricing-table .plan-details li i.cross { background-image: url({$skin}/[email protected]); }
.contact-form .button i.send { background-image: url({$skin}/[email protected]);}
#featured-sources .heading2 .title { background-image: url({$skin}/[email protected])}
}
HTML;
echo $output;
?>
- The topic ‘how to whitelist a file?’ is closed to new replies.