• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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