Why is this permissions error occurring with mod_passenger.so?

前端 未结 2 446
孤独总比滥情好
孤独总比滥情好 2020-12-30 07:13

I\'m setting up a production RHEL 6 server with RVM and Passenger. I\'ve gotten through installing RVM (to my home dir), installing Passenger, and adding the required lines

2条回答
  •  孤独总比滥情好
    2020-12-30 08:12

    It turned out to have to do with SELinux.

    The Passenger docs discuss it here.

    After you install Passenger, find the Passenger root...

    passenger-config --root
    

    Then run this...

    chcon -R -h -t httpd_sys_content_t /path-to-passenger-root
    

提交回复
热议问题