Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have VPS server with cpanel/whm installed. Now cpanel installs its own Apache configuration files and it says that chnages will be lost as cpanels rewrites that.

Now i want to have my own stuff in http.conf file.

Is there any way that i can mention to cpanel to always include my.conf file during apache conf file generation

share|improve this question
up vote 2 down vote accepted

There should be an included directory in the http.conf file that cpanel writes. You can add your file to that directory.

Search through http.conf for the word "include". The path following include will tell you what files and directories contain extra instructions.

Once you've added your file, restart apache.

share|improve this answer
Thanks for that buddy – Mirror51 May 24 '11 at 12:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.