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/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:
    51
    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 Well-Known Member

    Joined:
    Apr 29, 2005
    Messages:
    416
    Likes Received:
    1
    Trophy Points:
    243
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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