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!

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:
    243
    Likes Received:
    4
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,937
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Peoplespaces

    Peoplespaces Well-Known Member

    Joined:
    Oct 1, 2001
    Messages:
    243
    Likes Received:
    4
    Trophy Points:
    318
    cPanel Access Level:
    Root Administrator
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