Hi,
I need to add the following to my apache config file:
I have 2 questions regarding this
I have read the docs about the risks when modifying httpd.conf directly
Advanced Apache Configuration - EasyApache - cPanel Documentation
When I opened the httpd.conf file with nano /usr/local/apache/conf/httpd.conf I read a comment at the WHM/cPanel comment section that is not mentioned in the documentation. The steps in the documentation to modify it directly are more complex than what the comment says.

I need to add the following to my apache config file:
Code:
<Directory /path/to/your/home/public_html/>
Options FollowSymLinks MultiViews Includes Indexes
AllowOverride All
Require all granted
</Directory>
- How do I figure out what the full path is to my public_htme folder
- In which config file do I add this block?
I have read the docs about the risks when modifying httpd.conf directly
Advanced Apache Configuration - EasyApache - cPanel Documentation
When I opened the httpd.conf file with nano /usr/local/apache/conf/httpd.conf I read a comment at the WHM/cPanel comment section that is not mentioned in the documentation. The steps in the documentation to modify it directly are more complex than what the comment says.
When I open that file with nano it is completely empty, so can I just add my modifications in this file, restart Apache and be done with it?# Administrator location to safely altering httpd.conf
include "/etc/apache2/conf.d/includes/pre_main_global.conf