Tag Archives: AddHandler

15Feb/15

Prevent .htaccess file modification while running easyapache

Most of the time, the recompilation process of Apache/php with Easyapache with WHM/cPanel server will be effected the users’ .htaccess file. Most probably the entries like “AddHandler” will be commented state.

We can prevent the .htaccess file modification from the WHM tweak settings.

In WHM-> Server Configuration -> Tweak Settings -> System
set
Depth to recurse for .htaccess checks = 0

12Apr/14

ntPHPselector : Bug fix #New Line entry error with AddHandler

Bug # New Line entry error with AddHandler

Description: If an htaccess file is not end with a new line the newly added “AddHandler” entry will be append to the end of the last line. The issue is occur with the .htaccess files eithout ending a newline (normally it ends with new line). The bug is fixed in the new version 2.0.4 by adding the AddHandler Entry as new Line. Since there is no major changes, no need to recompile, reinstall the ntphpselector plugin. The old users can fix this bug by running the following commands from root terminal.

Fix:

cd /usr/local/src
wget -N http://nixtree.com/download/free/ntphp/ntphp_patch204.sh
sh ntphp_patch204.sh

Continue reading