Topic: Apache + Passenger -> ROR hates me!
Hi!
I'm new to ROR and the most stuff around it. I hope you can enlighten me!
My problem:
A co-worker has developed an little ror-app with aptana... in developent it works
I set up a vserver (Ubuntu Server 10.x) as LAMP.
DB Migration worked.
Working from development desktop on MySQL works.
Transfered it on my server, followed all the advices Mr. Google could give me to configure the apache and install Phussion Passenger.
But no success!
I tried it with a more simple example:
I created a blank ror-app. Tried script/server and it worked. Tried to bind it into apache -> same again.
Outputs:
In the simplest way (setting document root on the symlink to public folder) it now showes the public folder index.
In a more complex manner (as sub-uri) connection dies immediately or it stays active (passenger-status showes domain activity) until time-out after about 10min.
I know, I sound bit confused... sorry for that..
My default-vhost looks like that:
<VirtualHost *:80>
ServerName my.domain.name
DocumentRoot /var/www
<Directory /var/www>
Options Indexes FollowSymLinks
AllowOverride ALL
Order allow, deny
Allow from all
</directory>
RailsBaseURI /test #name of the symlink in my doc root to the public folder of my example
</VirtualHost>I only want to access the app via apache as sub-uri. What have I forgotten?
The logs are not significant.
I'm lost.
Thanks for any hint.
Chris