I am having trouble trying to get passenger to work, even on a newly-created application using the ‘rails’ command. What I am doing is:
Set up a domain with Passenger enabled (data.tarifadetaxi.com), and pointed it to /home/username/tarifadetaxi/public
While at /home/username, I ran the following commands:
If I go to http://data.tarifadetaxi.com/ , I see the rails welcome page, but it is because it is a static file at ~/tarifadetaxi/public. However, if I try to fetch anything that would be directed to rails code, I get an empty page. Examples:
The server simply closes the connection and doesn’t return any reply:
- About to connect() to data.tarifadetaxi.com port 80
- Trying 126.96.36.199… connected
- Connected to data.tarifadetaxi.com (188.8.131.52) port 80
[quote]GET /rails/info/properties HTTP/1.1
User-Agent: curl/7.15.5 (x86_64-pc-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8c zlib/1.2.3 libidn/0.6.5
- Empty reply from server
- Connection #0 to host data.tarifadetaxi.com left intact
curl: (52) Empty reply from server
- Closing connection #0
I don’t get any message on the rails log directory, neither on the ~/logs/datatarifadetaxi.com/http/*.log files, either. I see stuff on the domain logs only when an static file is requested.
Any hints on how to troubleshoot this?
I’ve asked DH support for help on this, but I was told it is beyond the scope of their support. I would understand that if it was a complex application, but having it broken even on a freshly-created app using the ‘rails’ command on DH server, I feel like uploading an index.html file on your domain directory, not getting it shown when accessing the domain, not having access to the domain log files, and being told it is not their problem.