Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    May 2004
    Posts
    11

    Default Apache upgrade overwrites DirectoryIndex directive

    Hey folks,

    Every time I update Apache using cPanel, the new installation overwrites my `DirectoryIndex' directive. This would be fine, but I host ASP.net webpages on Mono, which require some .aspx index files.

    Is there a recommended way to A) prevent the apache install from overwriting this directive? B) run a script immediately after the apache install has completed? Or do I just have to add these as user-specific DirectoryIndexes to each VirtualHost, since that data isn't overwritten?

    Thanks.
    cityhost.ca - Community hosting, driven by open source. ASP.net 1.0 Mono hosting available.

  2. #2
    Member
    Join Date
    Dec 2001
    Posts
    1,558

    Default

    Put in a bug report: http://bugzilla.cpanel.net

    Is the directive being removed from .htaccess or from httpd.conf ?
    Beau Henderson

  3. #3
    BANNED
    Join Date
    Feb 2004
    Posts
    349

    Default

    Quote Originally Posted by steve.deobald
    Hey folks,

    Every time I update Apache using cPanel, the new installation overwrites my `DirectoryIndex' directive. This would be fine, but I host ASP.net webpages on Mono, which require some .aspx index files.

    Is there a recommended way to A) prevent the apache install from overwriting this directive? B) run a script immediately after the apache install has completed? Or do I just have to add these as user-specific DirectoryIndexes to each VirtualHost, since that data isn't overwritten?

    Thanks.

    Thats why you should always be backing up your http.conf before upgrading Apache. Besides, all Apache upgrades have always done this so get into the habbit of copying and pasting the directoryindex line back into httpd.conf after the update. I know, I run chiliasp and this happens everytime.

  4. #4
    Member
    Join Date
    May 2004
    Posts
    11

    Default

    Quote Originally Posted by mr.wonderful
    Thats why you should always be backing up your http.conf before upgrading Apache. Besides, all Apache upgrades have always done this so get into the habbit of copying and pasting the directoryindex line back into httpd.conf after the update. I know, I run chiliasp and this happens everytime.
    This isn't optimal behaviour, as far as I'm concerned. I'll file a bug.
    cityhost.ca - Community hosting, driven by open source. ASP.net 1.0 Mono hosting available.

  5. #5
    Member
    Join Date
    Sep 2002
    Posts
    9

    Default

    I too have Sun ASP installed and I hate having to update the DirectoryIndex after easyapache is done! And the script also adds DisplayConnect /etc/issue.net to /etc/proftpd.conf, which I hate and have to remove every time. This behaviour is reminiscent of old Cpanel versions and must have been useful in the past, but it's just annoying now and should be elimitated from future versions of easyapache. I'll file a bug report.

    -Dario

Similar Threads & Tags
Similar threads

  1. Apache, RewriteRule, and DirectoryIndex
    By rking in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-20-2009, 03:36 PM
  2. Apache overwrites htaccess upon compile
    By andyhodges in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-21-2008, 07:14 AM
  3. Upgrade to R18404 changes directoryindex
    By mtindor in forum cPanel and WHM Discussions
    Replies: 22
    Last Post: 02-12-2008, 02:29 PM
  4. AcceptPathInfo directive in apache 1.37?
    By fikse in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-26-2006, 07:42 AM
  5. phpBB upgrade problem - overwrites MODs and client modifications
    By peterquast in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-12-2005, 04:33 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube