• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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