Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Apr 2008
    Location
    sanctum sanctorum
    Posts
    152

    Default updates overwriting apache config

    Every time update script runs it is re-writing httpd.conf incompatibly with previous changes to httpd.conf and local templates. Example:

    Remove all Alias, ScriptAlias and ScriptAliasMatch lines
    Check-in modifications (/usr/local/cpanel/bin/apache_conf_distiller --update)
    Regenerate config (/usr/local/cpanel/bin/build_apache_conf )
    The modifications are conserved.

    That is, until the next update run. At next update run httpd.conf is recreated and the Alias, ScriptAlias and ScriptAliasMatch lines are back. Somehow update run ignores previously checked-in modifications.

    Edited to add:
    --------------
    Also overwritten is the index.html at /usr/local/apache/htdocs. Updates should not be touching that file!
    Last edited by thobarn; 02-07-2010 at 01:35 PM.

  2. #2
    Registered User
    Join Date
    Apr 2010
    Posts
    1

    Default

    Hi!

    Have you found a way to get your files not touched by an update?

    I need to remove the redirection to /webmail every time... and it's pissing me off!

    Thanks!

  3. #3
    Member
    Join Date
    Oct 2003
    Posts
    147

    Default

    The same stiupid problem.


    Propabbly we will delete /usr/local/cpanel/bin/build_apache_conf

Similar Threads & Tags
Similar threads

  1. Updates - Apache, Suhosin, mod_security, suPHP
    By GoWilkes in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 08-29-2011, 05:36 AM
  2. Cpanel Updates changes apache port
    By thewird in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-13-2007, 12:40 PM
  3. Apache config question
    By batcave in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-02-2007, 09:14 AM
  4. Apache updates not including GD?
    By P_W in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-17-2006, 03:54 AM
  5. Apache Config File
    By Beowulf in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-17-2003, 09:19 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube