• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Pagespeed, Prestashop 1.7 - AH01630: client denied by server configuration

passio

New Pleskian
Hi, I tried many hours to solve the problem in log AH01630, but I can't. I rode a lot of post, tried them, but nothing works.
My question is, does thousand of these lines in my log affect my website performance (I think yes...?)

This is my .htaccess in httpdocs with modification I did :

And my httpdocs/img/.htaccess contain this :


<IfModule mod_php5.c>
php_flag engine off
</IfModule>

# Apache 2.2
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
<Files ~ "(?i)^.*\.(jpg|jpeg|gif|png|bmp|tiff|svg|pdf|mov|mpeg|mp4|avi|mpg|wma|flv|webm|webp|ico)$">
Allow from all
</Files>
</IfModule>

# Apache 2.4
<IfModule mod_authz_core.c>
Require all denied
<Files ~ "(?i)^.*\.(jpg|jpeg|gif|png|bmp|tiff|svg|pdf|mov|mpeg|mp4|avi|mpg|wma|flv|webm|webp|ico)$">
Require all granted
</Files>
</IfModule>


I still have the error... It seems that a lot of people are looking to solve this problem on internet, but a lot can't.
Please, I hope you could help.
 
The solution which seems to work is to set in /img :


# Apache 2.4
<IfModule mod_authz_core.c>
Require all granted
<Files ~ "(?i)^.*\.(jpg|jpeg|gif|png|bmp|tiff|svg|pdf|mov|mpeg|mp4|avi|mpg|wma|flv|webm|webp|ico)$">
Require all granted
</Files>
</IfModule>

Is there any risk with that ?
 
Back
Top