【发布时间】:2012-05-30 02:44:44
【问题描述】:
我正在尝试在 Amazon EC2(Ubuntu + Apache + Passenger)上部署 SequenceServer,但它“挂起”:http://ncwebguru.com/sequenceserver。
“helloworld”应用也会发生同样的事情:http://ncwebguru.com/sequenceserver1
它在我的物理 linux 服务器(不是 EC2)上运行良好。
它不会将任何内容记录到 apache 日志文件中,因此我不确定如何对其进行故障排除。非常感谢任何有关如何解决或解决问题的帮助。
Apache 配置:
<VirtualHost *:80>
DocumentRoot /var/www
<Directory /var/www>
Allow from all
</Directory>
RackBaseURI /sequenceserver
RackBaseURI /sequneceserver1
<Directory /var/www/sequenceserver>
Options -MultiViews
</Directory>
</VirtualHost>
/var/www 目录:
sequenceserver # sym link to /path/to/actual/sequenceserver/public
sequenceserver1 # sym link to /path/to/helloworld/public
/path/to/helloworld 目录:
tmp/ # empty
public/ # empty
config.ru # helloworld ruby rack app
config.ru
app = proc do |env|
return [200, { "Content-Type" => "text/html" }, "hello world"]
end
run app
【问题讨论】:
标签: ruby amazon-ec2 passenger