Navigation

    • Register
    • Login
    • Search
    • Recent
    • Users
    • Groups

    apache configuration for magento 2

    CWP - Panel
    2
    4
    41
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      legend last edited by

      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>
      
      sandeep 1 Reply Last reply Reply Quote 0
      • sandeep
        sandeep @legend last edited by

        @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>
        
        1 Reply Last reply Reply Quote 0
        • L
          legend last edited by

          @sandeep do I need to create custom templates so they are not override during updates?

          sandeep 1 Reply Last reply Reply Quote 0
          • sandeep
            sandeep @legend last edited by

            @legend yes for sure

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            Recent Topics

            • Centos 8 Stream CWP - Delayed Update and CWP repositories are added

            • Update NGINX Stable v1.16.1 to latest NGINX Stable v1.18.0 for CWP & CWP PRO!

            • Phpmyadmin New Verison with autologin - CWP

            • PHP 8.0.0 testing - CWP

            • M

              Install php 7.4 on cwp

            • How to update phpMyAdmin v4.7.9 outdated version to the latest phpMyAdmin v4.9.2 for CWP and CWP PRO for Centos 7 !

            • How to Get A+ Score Rating with SSLLabs Qualys in CWP – Control web panel

            • Error cronjobs

            URLs HOME | Blog | Support Portal