Apache Config instead of htaccess
Apache doc's state "You should avoid using .htaccess files completely if you have access to httpd main server config file."
For a simple example I would like to add the following so I do not have to place it in my .htaccess file
addDefaultCharset utf-8
DefaultLanguage en-US
In Home "Service Configuration "Apache Configuration "Include Editor I see:
Pre Main Include
Pre Virtual Host Include
Post Virtual Host Include
Which of the 3 do I edit for the example above that will effect all domains being hosted?
-
You can add it to the "Pre Main Include". 0 -
I appreciate your response back. stapuff106 0 -
Hello, You may also find the following document helpful should you want to make additional custom changes to the Apache configuration: Advanced Apache Configuration - EasyApache 4 - cPanel Documentation Thank you. 0
Please sign in to leave a comment.
Comments
3 comments