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/PHP recompile, htaccess edited

Discussion in 'EasyApache' started by marketer, Jan 7, 2009.

  1. marketer

    marketer Registered

    Joined:
    Jan 7, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    Our htaccess code was edited

    from:
    AddHandler application/x-httpd-php .php .html

    to:
    # AddHandler application/x-httpd-php .php .html

    -
    If its edited our php include in html pages will not work.
    -

    I received a confirmation from our host:
    Last time we did an Apache/PHP recompile, we removed the immutable status (chattr -i <file>) of the .htaccess files, to see if they would still be modified. Some of the .htaccess files were still modified, however we checked them immediately after the recompile was done and made sure they were alright.

    It seems the only solution at the moment is to make them immutable (chattr +i <file>). cPanel knows about the issue and I expect they will have a solution fairly soon, however until then we'll have to make due with chattr.

    --
    I needed an advise what to do w/ our htaccess to that it will not be modified when theres Apache/PHP recompile.
     
  2. MattDees

    MattDees cPanel Product Owner
    Staff Member

    Joined:
    Apr 29, 2005
    Messages:
    417
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page