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!

Apache conf distiller = waste of time ???

Discussion in 'EasyApache' started by yapluka, Nov 11, 2007.

  1. yapluka

    yapluka Well-Known Member

    Joined:
    Dec 24, 2003
    Messages:
    301
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    France
    cPanel Access Level:
    Root Administrator
    I wish this is true but unfortunately, it is not and this is getting really, really irritating, to say the least :mad:

    Just an example : I want to disable the directory indexing server wide (why is apache no longer taking the access.conf into consideration, btw ???), so :
    1) I change "Options All" to "Options -Indexes" in httpd.conf.
    2) I run the distiller.
    3) /var/cpanel/conf/apache/main does reflect the change.

    According to what Todd said, you would think that EA3 will use /var/cpanel/conf/apache/main for the next rebuild ? You're wrong. Even when recompiling with the previous build, /var/cpanel/conf/apache/main gets reset and the changes are lost.

    Now, is there any way to keep these changes so we don't have to redo all the work after each new compilation ???

    PS : I'm running WHM 11.11.0 cPanel 11.15.0-C17853
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,561
    Likes Received:
    42
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    Use the Apache Include Editor to make and save those changes. The distiller will save most changes across httpd.conf rebuilds, but rebuilding Apache will over-write them (as you described).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. yapluka

    yapluka Well-Known Member

    Joined:
    Dec 24, 2003
    Messages:
    301
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    France
    cPanel Access Level:
    Root Administrator
    Yes, that's what I'm usually using but it doesn't always work. The only way that I found to disable the directory indexing is to edit the httpd.conf, for example...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice