Ruby uptime (deployed on Amazon EC2 with Phusion Passenger)

I'm trying to deploy SequenceServer on Amazon EC2 (Ubuntu + Apache + Passenger), but it freezes: http://ncwebguru.com/sequenceserver .

The same thing happens with the helloworld application: http://ncwebguru.com/sequenceserver1

It works fine on my physical linux server (and not on EC2).

It does not write anything to the Apache log file, so I'm not sure how to fix it. Any help on how to fix or fix the problem is greatly appreciated.

Apache conf:

<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 directory:

sequenceserver # sym link to /path/to/actual/sequenceserver/public
sequenceserver1 # sym link to /path/to/helloworld/public

/ path / to directory / 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
+3
source share
1 answer

, TimeOut Apache. . , 5 :

TimeOut 300
+1

All Articles