Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.