Ripefruit

  • About Us
    • About Us
      • Acceptable Use Policy
      • Privacy Policy
      • Terms & Conditions
    • Contact Ripefruit
      • Account Set-up
    • Partners
    • Site Map
  • What We Do!
    • Design
      • Web Design
      • Portfolio
      • In Progress
    • Domain Names
      • New For Sale
      • PreRegistered For Sale
    • Hosting Services
    • Payment Gateway
    • Publishing
    • Software
    • Virtual Services
  • Digital
    • Ripefruit
      • All Digital Products
      • City Digital Products
      • Automotive Digital Products
      • Advertising
    • Partners
    • Not For Profit
  • Clients
    • Billing
    • Client Login
    • Resources
      • Friends
      • Site Map
      • WordPress
      • Service Status
    • Support
  • IT Talk
    • Domain Names
      • Domain Names For Sale
    • Hosting
    • Internet
    • Search
    • Services
    • Software
    • Technical
      • Technical Support
  • Contact Us
    • Contact Us
      • Account Set-up
    • Site Map

How to stop cpanel changing htaccess

cPanel in it’s wisdom was updating our htaccess file changing “ea-php52” package to “ea-php56”.

cpanel forums confirms the modification is part of a regular update to users code.

In our case, all it did was break our website causing 500 server errors.

Yes, we can access cpanel/file manager/public_html/.htaccess

then change the package back.. but, it means the website has been down until these changes were made.

.htaccess FIX

Deny cPanel access to .htaccess

Prevent Easyapache . htaccess File Modification

  • Login to WHM.
  • Navigate to “Server Configuration”.
  • Go to “Tweak settings”.
  • Select the option “System”.
  • Set “Depth to recurse for . htaccess checks” to 0.
  • Click the button ‘Save’.

# php — BEGIN cPanel-generated handler, do not edit
# Set the “ea-php52” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php52 .php .php5 .phtml
</IfModule>
# php — END cPanel-generated handler, do not edit


Also See..


  • How to change .htaccess IP address
  • Fixing WordPress Speed Issue
  • WordPress Admin Protection
  • Email Reply Account
  • cPanel: AutoSSL certificate renewal may cause a reduction of coverage

Recent Posts

  • CloudFlare: Unable to Login
  • Reebelo: Bringing Electronics Back to Life
  • How to stop cpanel changing htaccess

About Brian King

Managing director and senior editor at Ripefruit Media




RIPEFRUIT

PO Box 12728, Franklin Street,
Melbourne VIC, Australia. 8006

  • Contact Us
  • IT Talk
  • Publications
  • Site Map
  • Web Design
  • WordPress




Latest Articles

  • CloudFlare: Unable to Login
  • Reebelo: Bringing Electronics Back to Life
  • How to stop cpanel changing htaccess
  • Missing Bootstrap navbar toggler icon fixed

Tip Of The Day

Always choose

RIPE FRUIT

It tastes the sweetest..

RIPEFRUIT MEDIA

  • Web Design Team
  • Facebook
  • Twitter
  • IT Talk
  • Contact
  • About Us
  • What We Do!
  • Digital
  • Clients
  • IT Talk
  • Contact Us

Copyright © 2021 · Ripefruit | Billing | Support