1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

How to remove a line in httpd.include ?

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by mikebwre, Feb 12, 2012.

  1. mikebwre

    mikebwre Guest


    I want to disable access logging for some domains (not server). To do that, I'm trying to comment out this line in httpd.include:
    CustomLog /var/www/vhosts/xxx.com/statistics/logs/access_log plesklog

    When I add following code to vhost.conf, I can't disable access logging (as expected, because vhost.conf is addition to httpd.include I suppose).
    #CustomLog /var/www/vhosts/xxx.com/statistics/logs/access_log plesklog

    Do you know how to comment out or remove a line in httpd.include by using vhost.conf or by using another practice?