Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    Jun 2003
    Posts
    8

    Default how can I add something in httpd.conf with ea3

    I want add some settings in httpd,conf, but after each recompile all settings are cleaned.
    I added keepalive, maxclients.... also includes to conf-files from "extra-directory", but always if I recompile apache, all my settings are deleted. Don´t know whats the right way?!

    (Apache 2.2 with php 5.2.4 )

  2. #2
    Member
    Join Date
    Oct 2006
    Location
    Cheshire, UK
    Posts
    196

    Default

    Me too. I've added "ServerTokens Minor" and everytime I do a rebuild, this setting disappears!!

  3. #3
    Member
    Join Date
    Nov 2004
    Posts
    50

    Default

    Same problem for me as well

  4. #4
    Member
    Join Date
    Jul 2004
    Posts
    47

    Default

    Same here.

    Not just after compilation, even if someone added a domain, our prefork configuration just got wiped.


    Jones
    www.jonesolutions.com
    --------------------------------------
    Stable.Reliable.Fastest

  5. #5
    Member
    Join Date
    Nov 2004
    Posts
    50

    Default

    Quote Originally Posted by Jones View Post
    Same here.

    Not just after compilation, even if someone added a domain, our prefork configuration just got wiped.


    Jones
    Yeah, thats what I meant as well.

  6. #6
    Member
    Join Date
    Nov 2004
    Posts
    50

    Default

    I just submitted a bug report about this here. Hopefully cPanel will take a look and provide us with a fix. Perhaps they have some file we can add our changes to, so they are included each time the httpd.conf file is regenerated.

  7. #7
    Member verdon's Avatar
    Join Date
    Nov 2003
    Location
    Northern Ontario, Canada
    Posts
    792

    Default

    There is a script for 'adding' your settings so this doesn't happen. It was discussed here a day or so ago. I'll see if I can find it now. Hang on...

  8. #8
    Member verdon's Avatar
    Join Date
    Nov 2003
    Location
    Northern Ontario, Canada
    Posts
    792

    Default

    Here it is...

    Make the changes, then...
    Code:
    /usr/local/cpanel/bin/apache_conf_distiller --update --main
    http://forums.cpanel.net/showthread.php?t=71049

  9. #9
    Member
    Join Date
    Nov 2004
    Posts
    50

    Default

    Thanks a lot!

    That worked great.
    Last edited by derekivey; 09-15-2007 at 11:10 PM.

  10. #10
    Member
    Join Date
    Nov 2004
    Posts
    50

    Default

    I wonder why that command wasn't in the documentation. I took a look at that and couldn't find it anywhere, good thing you posted it.

Similar Threads & Tags
Similar threads

  1. Replies: 2
    Last Post: 12-24-2008, 10:30 AM
  2. is the httpd/conf/extra/* stuff deprecated in latest EA3?
    By sehh in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 10-16-2008, 05:41 PM
  3. AddModule - missing from httpd.conf in EA3?
    By mtindor in forum cPanel and WHM Discussions
    Replies: 15
    Last Post: 08-18-2008, 04:48 PM
  4. httpd.conf problem after execute ea3
    By jameshsi in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-03-2007, 01:07 PM
  5. whm does not add new account to httpd.conf
    By SickFinga in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-22-2005, 04:59 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube