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.

SOLVED EasyApache 3 modifies htaccess

Discussion in 'EasyApache' started by Peoplespaces, Jan 29, 2017.

Tags:
  1. Peoplespaces

    Peoplespaces Well-Known Member

    Joined:
    Oct 1, 2001
    Messages:
    222
    Likes Received:
    3
    Trophy Points:
    318
    cPanel Access Level:
    Root Administrator
    Whenever I run EA3 it disables a line in the .htaccess files of a couple of sites. Specificaly the the line 'AddType application/x-httpd-php5 .php .htm .html' is commented out whenever I run the program.

    Can anyone help to understand this issue?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,419
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You will need to create an empty file named /var/cpanel/easy_skip_update_php_mime_types if you want to prevent EasyApache 3 from updating the PHP mime types in the .htaccess files. You can do this using a command such as:

    Code:
    touch /var/cpanel/easy_skip_update_php_mime_types
    Thank you.
     
  3. Peoplespaces

    Peoplespaces Well-Known Member

    Joined:
    Oct 1, 2001
    Messages:
    222
    Likes Received:
    3
    Trophy Points:
    318
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page