apache configuration for magento 2
-
Could you help me where do i make these changes in apache in cwp please:
Enable rewrites and .htaccess for CentOS 7: Open /etc/httpd/conf/httpd.conf file for editing: vim /etc/httpd/conf/httpd.conf` Locate the block that starts with: <Directory /var/www/html> Change the value of AllowOverride to All. For example, <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all <Directory>
-
@legend said in apache configuration for magento 2:
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
<Directory>try this :
<Directory /var/www/> AllowOverride All <Directory>
-
@sandeep do I need to create custom templates so they are not override during updates?
-
@legend yes for sure