Enable .htaccess processing on Apache by setting AllowOverride All in apache2.conf or httpd.conf. Verified commands for Ubuntu, Debian, CentOS, RHEL,…