Now that the service is installed and running, Now you can use unique systemctl commands to manage the service. block you'll discover an AllowOverride selection, Set this to all to enable the takes advantage of with the .htaccess file in Apache. if ‘sudo apachectl -k restart’ command give an mistake, https://apache-support60863.pointblog.net/the-single-best-strategy-to-use-for-apache-support-service-69436517