Change the definition of Override in /etc/httpd/conf/httpd.conf # # AllowOverride controls what directives may be placed in .htaccess files. #…