Skip to main content

EasyApache Passenger/htaccess issues

Comments

2 comments

  • supcp
    I don't know why I can't edit my post, but i forgot to mention that i have root access to Cpanel/whm and ssh. This is the ouput of grep '' /etc/redhat-release /usr/local/cpanel/version /var/cpanel/envtype ; grep CPANEL= /etc/cpupdate.conf /etc/redhat-release:CentOS Linux release 7.6.1810 (Core) /usr/local/cpanel/version:11.76.0.12 /var/cpanel/envtype:virtuozzo CPANEL=release
    0
  • cPanelMichael
    Hello @supcp, It's by design that attempts to configure Passenger directives in .htaccess files is disallowed as a security precaution. You should instead use the following UAPI function to manage Ruby applications for user accounts: UAPI Functions - PassengerApps::edit_application - Developer Documentation - cPanel Documentation Let me know if there's a specific scenario or use-case where the above UAPI function doesn't address the configuration needs of your application. Thanks!
    0

Please sign in to leave a comment.