• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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