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.

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:
    18
    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
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    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).
     
  3. yapluka

    yapluka Well-Known Member

    Joined:
    Dec 24, 2003
    Messages:
    301
    Likes Received:
    1
    Trophy Points:
    18
    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...
     
Loading...

Share This Page