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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

EasyApache and htaccess user files

Discussion in 'EasyApache' started by equens, Mar 9, 2010.

  1. equens

    equens Well-Known Member

    Joined:
    Feb 8, 2002
    Messages:
    271
    Likes Received:
    0
    Trophy Points:
    316
    Every time I use EasyApache cpanel modifies the htaccess preventing the use of php in html files.

    Before:
    AddHandler application/x-httpd-php5 .html .htm .php

    After:
    #AddHandler application/x-httpd-php5 .html .htm .php

    How do I know which files have been modified to restore them?
     
  2. garrettp

    garrettp Well-Known Member
    PartnerNOC

    Joined:
    Jun 18, 2004
    Messages:
    312
    Likes Received:
    0
    Trophy Points:
    166
    cPanel Access Level:
    DataCenter Provider
    I've not encountered the EasyApache build modifying user .htaccess files, are you sure you're not specifying that in the httpd.conf? It would make sense that it's being reset if you are.
     
  3. equens

    equens Well-Known Member

    Joined:
    Feb 8, 2002
    Messages:
    271
    Likes Received:
    0
    Trophy Points:
    316
    Hello garrettp, thanks for your help. I upgraded apache twice in a month and I have had to delete de # character in these .htaccess files only after AddHandler application/x-httpd-php5.

    I know which domains are affected but it is hard to restore these files each time.
     
Loading...

Share This Page