On my server reboot, all the modification apported on my configuration file apache.conf will not be take. How i can resolve this problem?

June 13, 2017 865 views
Fedora DigitalOcean CentOS Arch Linux
manekol22
By:
manekol22

Hello,
Before reboot, i have below configuration in "apache.conf" file for example:

LoadModule status_module modules/mod_status.so
#LoadModule cgi_module modules/mod_cgi.so
LoadModule cgid_module modules/mod_cgid.so

After reboot, i have below configuration

LoadModule status_module modules/mod_status.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule cgid_module modules/mod_cgid.so

Can you give me a method to fix this problem without using (chown and chmod)?
N.B: My Server is an VPS with using a Helpsia Cpanel Hosted in Duoserver cloud, Thank.

1 Answer

Hi,

It sounds like Hepsia is overwriting your changes on reboot. With most control panels, you are not meant to edit any configuration files manually as they are managing them. I would suggest looking into whether it's possible to perform the same changes that you are doing manually through Hepsia itself.

Have another answer? Share your knowledge.