Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
права
права
Стоит magento. Когда даю права сайт падает с 403 ошибкой
find . -type f -exec chmod 400 {} \;
find . -type d -exec chmod 500 {} \;
find var/ -type f -exec chmod 600 {} \;
find media/ -type f -exec chmod 600 {} \;
find var/ -type d -exec chmod 700 {} \;
find media/ -type d -exec chmod 700 {} \;
chmod 700 includes
chmod 600 includes/config.php
потом запускаю find ./ -type f -name '.htaccess' -exec chmod 644 {} \;
слетает дизайн в логах (13)Permission denied: /home/admin/web/*/public_html/media/media/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
на public_html 755 владелец admin:admin
почему не читает .htaccess в папках сайта?
find . -type f -exec chmod 400 {} \;
find . -type d -exec chmod 500 {} \;
find var/ -type f -exec chmod 600 {} \;
find media/ -type f -exec chmod 600 {} \;
find var/ -type d -exec chmod 700 {} \;
find media/ -type d -exec chmod 700 {} \;
chmod 700 includes
chmod 600 includes/config.php
потом запускаю find ./ -type f -name '.htaccess' -exec chmod 644 {} \;
слетает дизайн в логах (13)Permission denied: /home/admin/web/*/public_html/media/media/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
на public_html 755 владелец admin:admin
почему не читает .htaccess в папках сайта?
Re: права
Обычно достаточно вот такого:
https://community.magento.com/t5/Instal ... 3587#M1520
Code: Select all
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;