Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

Disable domlogs with new easy apache configuration

Discussion in 'EasyApache' started by webstro, Apr 6, 2009.

  1. webstro

    webstro Member

    Joined:
    Mar 2, 2004
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    151
    Hi there. I have a virtual host that I would like to disable domlogs for. I understand how to add directives using the includes, but how would I comment out or remove domlogs?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,745
    Likes Received:
    312
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. webstro

    webstro Member

    Joined:
    Mar 2, 2004
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    151
    Doesn't seem to . I had read that before asking the question.

    That addresses how to include things, but not how to comment out existing items, like the CustomLog setting.

    Is there a way to do it?
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,515
    Likes Received:
    33
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    In the link Infopro provided, read the section on custom templates. Templates are used to generate the VirtualHosts.
     
  5. webstro

    webstro Member

    Joined:
    Mar 2, 2004
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    151
    Right. Again, I understand the templates, but how do you use templates to only change certain virtualhosts?
     
  6. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,515
    Likes Received:
    33
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    Re-read the section on Custom Templates. In particular, the portion that begins with "It is also possible to create a custom template that only a single VirtualHost will use."
     
Loading...

Share This Page