views:

38

answers:

2

Hello!

I am developing a Rails 3 application and I have installed Capistrano on the client side and Passenger with Apache 2 on the server side.

I make a deployment and the files are sent to a folder called u/apps/.

But when I visit the IP address I am currently using I only get to an empty folder, how do I configure apache to look for my app in the current folder? So that I only need to visit my IP/domain to see my app?

This deployment stuff is killing me!

Thanks!

A: 

If you browse to your URL and you see an apache files/folders list that means that passenger is not triggered for that location... Test your server environment by running a mongrel/thin in your application folder and see that your application runs correctly. After that, look at your Apache configuration (see Passenger docs).

slainer68
A: 

Hi Jonathan,

I have done this using rails 2.x but i think for rails 3 also pretty much the same thing. For this you need to use passenger and then configure apache

following are some useful resources

http://www.modrails.com/install.html

http://railscasts.com/episodes/122-passenger-in-development

cheers

sameera

sameera207
Unfortunately its the apache setup that I cannot do. I do not know how to do it to get my deployed site to run. Do you have any tips?
Jonathan Clark
Try http://www.modrails.com/documentation/Users%20guide%20Apache.html
Tass