Does Enginetron Disable htaccess functionality?

Rajesh Chauhan

Active Member
Jan 18, 2016
26
2
53
India
cPanel Access Level
Root Administrator
I am installing Engintron Module on my cPanel server but I had a bad experience last year, after installing Engintron htaccess stop working all the rules defined in htaccess stopped functioning. Is Nginx causing this error or is there any way to use htaccess over Engintron ??
 

LucasRolff

Well-Known Member
Community Guide Contributor
May 27, 2013
142
98
78
cPanel Access Level
Root Administrator
Hi @Rajesh Chauhan

htaccess files can't be processed by nginx, so anything that will only be served through nginx won't support htaccess. However, Enginetron mainly works as a proxy in front of Apache to handle static files, this means it shouldn't break web applications from functioning.

If you're looking into caching solutions for your cPanel/WHM server, you might want to take a look into LiteSpeed Web Server Enterprise which is a drop-in replacement for Apache and understands htaccess files just fine. Additionally, the web server is officially supported by cPanel, where Enginetron isn't.
 
  • Like
Reactions: cPanelLauren

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,309
363
Houston
As indicated by @LucasRolff nginx (not just engintron) does not process .htaccess rules. They have an explanation of this here Like Apache: .htaccess | NGINX

If you need .htaccess you might try litespeed instead as suggested above it's also supported by cPanel where nginx is not a supported webserver.


Thanks!
 
  • Like
Reactions: LucasRolff