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!

Does Enginetron Disable htaccess functionality?

Discussion in 'EasyApache' started by Rajesh Chauhan, Nov 30, 2018.

  1. Rajesh Chauhan

    Joined:
    Jan 18, 2016
    Messages:
    12
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    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 ??
     
  2. LucasRolff

    LucasRolff Active Member

    Joined:
    May 27, 2013
    Messages:
    33
    Likes Received:
    25
    Trophy Points:
    18
    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.
     
    cPanelLauren likes this.
  3. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,818
    Likes Received:
    275
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    LucasRolff likes this.
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