I'm getting 403 error using passenger for rails in apache

后端 未结 4 1116
花落未央
花落未央 2021-02-08 12:31

I\'ve already installed the needed tools, and followed several tutorials trying to make passenger respond.

I can access static files in public folder (public/500.html or

4条回答
  •  礼貌的吻别
    2021-02-08 12:45

    First of all check your error log. By default, it placed at /var/log/apache2/.

    If you have client denied by server configuration issue, check your site conf file at /etc/apache2/sites-available/your-site.conf. It must be in compliance with Phusion Passenger User Guide. Take a look on Require all granted.

    
        Require all granted 
        Options FollowSymLinks
        # This relaxes Apache security settings.
        AllowOverride None
        # MultiViews must be turned off.
        Order allow,deny
        Allow from all
    
    

提交回复
热议问题