• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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