Navigation

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

    apache configuration for magento 2

    CWP - Panel
    2
    4
    93
    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

            • B

              nginx/1.20.0 ngx_pagespeed module

            • Almalinux support

            • Error Dovecot IMAP/POP3 Server

            • Problem with How to Enable TLS 1.3 in Apache on CWP

            • Successful delivery message

            • Install latest version of Sqlite3 from source Ubuntu/Debian

            • Install latest version of Sqlite3 from source centos/rhel/el7/el8

            • C

              Mysql load error

            1
            Online

            86
            Users

            117
            Topics

            767
            Posts

            URLs HOME | Blog | Support Portal