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

defroster

Registered
Dec 7, 2011
3
0
51
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
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
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!
 

defroster

Registered
Dec 7, 2011
3
0
51
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
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
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.
 

defroster

Registered
Dec 7, 2011
3
0
51
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
 

quietFinn

Well-Known Member
Feb 4, 2006
1,272
113
193
Finland
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?
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.