Include 301 redirect into apache httpd.conf - Hostgator hosting - LinuxConfig.org

Hostgator VPS generates apache's httpd.conf file automatically. Therefore, any new lines you add to apache's configuration file will be overwritten. In order to add new configuration settings we need to include a configuration.
This is a companion discussion topic for the original entry at https://linuxconfig.org/include-301-redirect-into-apache-httpd-conf-hostgator-hosting