• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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