Prevent Easyapache .htaccess File Modification

Prevent Easyapache .htaccess File Modification

In this tutorial, we are going to discuss how to prevent .htaccess file modification while running easyapache. .htaccess is a configuration file consists of some rules or instructions that tell the server how to behave in certain situations. Normally .htaccess file consists of some redirect and rewriting URLs for many scripts such as WordPress, Joomla moodle etc. You can refer more from https://www.interserver.net/tips/kb/htaccess-url-redirect/ . During the recompilation process of Apache with Easyapache, you may see some entries in your .htaccess file like:

 ‘AddHandler application/x-httpd-php5 .php .html .htm’

We can prevent any .htaccess unwanted entries while recompiling process of Apache/php with Easyapache using the following steps:

1) Login to WHM.

2) Navigate to “Server Configuration”.

prevet htaccess modification

 

3) Go to “Tweak settings”.

File Modification

 

4) Select the option “System”.

prevet htaccess modification

 

5) Set “Depth to recurse for .htaccess checks” to 0.

prevet htaccess modification

6) Click the button ‘Save’.

If you need any further help, please do reach our support department.

 

 
  • 0

How to Enable Plaintext Authentication in Dovecot?

How to Enable Plaintext Authentication in Dovecot? Dovecot is an IMAP or POP3 server for...

Install Apache Tomcat using EasyApache4

Install Apache Tomcat using EasyApache4 The Apache Tomcat is an Apache module that provides a...

How to Enable Extended Logging in Exim

How to Enable Extended Logging in Exim The extended Exim logs in cPanel server will help you to...

Maximum number of connections from user+IP exceeded

Maximum number of connections from user+IP exceeded If you are getting an error like ‘ Error –...

How To Set Up Remote Access Key in WHM

How To Set Up Remote Access Key in WHM Remote Access Key is a cPanel feature that allows...