The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to disable access logging? - WHM 11.30.5 (build 2)

Discussion in 'General Discussion' started by defroster, Dec 7, 2011.

  1. defroster

    defroster Registered

    Joined:
    Dec 7, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    How do I disable access logging in WHM 11.30.5 (build 2)?
    I cannot get full access to httpd.conf in 'Global Configuration' through the WHM interface only limited items?

    Thank you,
    df
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello df,

    To clarify, you want to display all logging to /usr/local/apache/logs/access_log location?

    Thanks!
     
  3. defroster

    defroster Registered

    Joined:
    Dec 7, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks for reply. What I would like to do is just to turn all access logging off. In other words I would like to disable it so it stops filling up the hard drive.

    Best regards,
    df
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    What is meant by all access logging, though? Do you mean all logging for Apache such as /usr/local/apache/domlogs/domain.com entries as well? The question is too general, which makes it difficult to answer with specifics. Please let us know specifically what access logging for what areas.
     
  5. defroster

    defroster Registered

    Joined:
    Dec 7, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Ok, I cannot fully edit all the settings in the httpd.conf for the server through WHM, is there a way of doing this?
    Thanks for the reply and sorry for not being clear
    /df
     
  6. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    You connect, as root, to your server using SSH.
    Then you edit file /usr/local/apache/conf/httpd.conf

    After that you run these commands:

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

    /usr/local/cpanel/bin/build_apache_conf

    (instructions also on top of the httpd.conf file).


    OR


    in WHM you go to:
    Service Configuration-> Apache Configuration-> Include Editor-> Pre VirtualHost Include,
    select "All versions" and put your settings there.

    That way you don't change the setting in httpd.conf, but you change the setting to what you want.
     
Loading...

Share This Page