cancel
Showing results for 
Search instead for 
Did you mean: 

magento2: how to get rip of 'Your web server is set up incorrectly and allows unauthorized access'

magento2: how to get rip of 'Your web server is set up incorrectly and allows unauthorized access'

Dear,

 

How to get rip of the follwing message:

 

Your web server is set up incorrectly and allows unauthorized access to sensitive files. Please contact your hosting provider.

 

 

I rerun:

chown -R magento:www-data /var/www/html/magento2
find /var/www/html/magento2 -type f -print0 | xargs -r0 chmod 640
find /var/www/html/magento2 -type d -print0 | xargs -r0 chmod 750

php magento2/bin/magento cache:status
php magento2/bin/magento cache:flush
service apache2 reload

 

without succes.

 

Regards,

 

Yves

1 REPLY 1

Re: magento2: how to get rip of 'Your web server is set up incorrectly and allows unauthorized acces

How to fix the «Your web server is set up incorrectly and allows unauthorized access to sensitive files» issue in Magento 2? https://mage2.pro/t/1089