• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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