Forum: Rails deployment Problem with passenger deployment

Posted by Tushar Gandhi (gandhi-tush)
on 2010-06-24 10:58
Hi,
I am trying to deploy my rails application using passenger.
I am following instructions of this URL
http://wdvl.com/Authoring/ror/Passenger/saurabh_bh...

By using those instruction it is showing me the default index.html page
from publc directory but whenever I am trying to call any controller it
is giving me error that "Not able to found".

E.g. I have controller "groups" and whose index method is my home page.
Whenever I am hitting the URL "http://wishlist.myappserver/" it shows me
index page from the app's public directory. After that whenever I am
tampering the URL "http://wishlist.myappserver/groups" it shows me page
not found.

Can anyone tell me what is the issue?
Also, I surprise that there is no ruby process running.

I have added following in httpd.conf file
<VirtualHost *:80>
        ServerAdmin root@localhost
        ServerName wishlist.myappserver
        DocumentRoot /var/www/myapp/public
        <Directory /var/www/myapp/public>
                Options Indexes FollowSymLinks -MultiViews
                AllowOverride all
                Order allow,deny
                allow from all
       </Directory>

        ErrorLog /var/log/httpd/error.log

        LogLevel warn

        CustomLog /var/log/httpd/access.log combined

</VirtualHost>


Thanks,
Tushar
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.