你可以解决公共文件夹的RoR应用程序吗?

Tri*_*rip 1 permissions hosting resolution ruby-on-rails

几个星期以来,我一直与Network Solutions来回徘徊.它们只有一个文件上传按钮来上传您的应用程序,就是这样.无法启动应用程序,或SSH进入服务器.当我明确地遵循他们的指示,并收到403 Forbidden,即使我的文件是775,我通过电子邮件发送给他们,这些是我的回复.

等了2天,我收到了这个回复..

We apologize for the inconvenience. We have checked your files on the server and we have determined that there is no index file uploaded on /htdocs/rails/testingApp/public directory. Please upload your index file inside the /public directory.

..因为RoR现在用完了公共目录?

我向他们解释说,RoR应用程序无法解析到公共目录.

2天后..

I apologize for the confusion, the way our rails apps deploy, the /public/ folder will be the default directory that http://testingapp.yourwebsite.com/ resolves to. You may need to alter or redeploy if your applicaton is set to run it's public root from another folder.

谁的哑巴?我说不出来.有没有办法将RoR应用程序解析为公用文件夹?

Avd*_*vdi 6

听起来他们正在使用Phusion Passenger来提供Rails应用程序,而DocumentRoot确实是Rails/public子目录.这是Rails应用程序的常见托管方案.