• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Magento 2 prerequisites. - Apache rewrites and .htaccess

Have you installed Magento2 from Applications Catalog?
 
No.
I installed it manualy, with Magento wizzard.
I had problem with static files, but just because permissions.
Magento say that all permissions need to be 770 for directories, and 660 for files...
http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html

But on that way I can't open any page...
I set it 775 and 665.

But problem was because with original Magento installation, while Magento create new files and new directories, set them automatically 770 and 660 and again I had problems with JS, CSS, thumb images...

I found solution to change this two files
/vendor/magento/framework/Filesystem/DriverInterface.php (WRITEABLE_DIRECTORY_MODE and WRITEABLE_FILE_MODE)
/lib/internal/Cm/Cache/Backend/File.php (directory_mode and file_mode)
and there can be changed default magento permissions for new files and directories...

Maybe now I have security issue
But I don't understand how it can be work without it, and I suppose that is bounded with properly configured Magento.
And one of prerequisites is to set that AllowOverride.
Maybe in that case permissions can be 770 and 660?
 
Yes I suppose it is, and next time I will install with Apps Catalog, but this time I had errors and I did not success to installed it with App Catalog.
And because those errors i tried to install it manually, to solve one by one.
And that was my first Magento installation, and wanted firstly to try to install it manually, and now when I know how to do that, next time will be with Apps Catalog.

If I installed it via Apps Catalog, that will solve those permission issues? Permissions should be 770 and 660?
 
Back
Top