Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    bhd
    bhd is offline
    Member
    Join Date
    Sep 2003
    Location
    JNB ZA
    Posts
    142

    Default

    I used /usr/local/apache/conf/httpd.conf but you could also do it in the include files specified at the top of the httpd.conf file. Mine show:

    Include "/usr/local/apache/conf/includes/pre_main_global.conf"
    Include "/usr/local/apache/conf/includes/pre_main_2.conf"

    What is important is that you run this after you make changes:

    /usr/local/cpanel/bin/apache_conf_distiller --update

  2. #2
    Member
    Join Date
    Aug 2008
    Posts
    73

    Default httpd.conf extra configuration

    1) What httpd.conf should I edit for making changed to all of the sites?

    2) Where do I add information such as MaxClients and StartServer etc?

  3. #3
    bhd
    bhd is offline
    Member
    Join Date
    Sep 2003
    Location
    JNB ZA
    Posts
    142

    Default

    very weird -- my post was after you started this thread but it's the first post and the time shows it was posted before you

  4. #4
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,554
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    bhd is correct in suggesting the include files; the Apache configuration includes may be used to insert this type of customization for when the desired option or setting does not have an existing entry in your main Apache configuration (httpd.conf) file.

    To note, it is only necessary to run the distiller when modifying the main "httpd.conf" file; if just editing an include file, I would primarily recommend verifying the Apache configuration as a whole is free of error and verify that Apache can still stop, start, and restart successfully. Here is a command you could use to run a basic configuration test, followed by testing stop, start, and restart:
    Code:
    # /usr/local/apache/bin/apachectl configtest
    Reference documentation, for editing the include files via WHM:
    IncludeEditor < AllDocumentation/WHMDocs < TWiki
    OutsideVHost < EasyApache3 < TWiki

  5. #5
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    Regarding post date mix up above ...

    This would suggest either the clock was reset between the posts or Cpanel is running mirrored servers that have clocks that are out of sync.

Similar Threads & Tags
Similar threads

  1. Preserve amends to /etc/httpd/conf/httpd.conf ?
    By robocrop in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-14-2010, 03:08 AM
  2. mpm_worker configuration in httpd.conf
    By dellio in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-24-2009, 03:17 AM
  3. httpd.conf sites/www.domain.com.conf Wildcard DNS
    By ttremain in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 12-16-2008, 12:19 PM
  4. 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
  5. Extra exim.conf logging options for all of you.
    By LiNUxG0d in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-01-2005, 09:27 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube