Hi Lee,

Here's the full content of the /etc/apache2/sites-available/appname
file:

NameVirtualHost specific_ip_address:80

  <VirtualHost specific_ip_address:80>

    ServerName specific_ip_address

    DocumentRoot /var/www/machineanalysis/current/public

  </VirtualHost>

Again, this file was automatically created as a result of the
capistrano deployment.
Initially it was empty, I added the content above.

One important note, after I installed passenger, before I installed
capistrano, I tried to create a vhost in the apache conf file and
point it
to the the public dir of my app. The symptoms were the same.
I suspect the problem is with passenger.
How can I verify that it's correctly installed?
It does seem like rails code isn't getting invoked.
Thanks,
Jason

On Jan 4, 10:15 pm, Lee Hambley <[email protected]> wrote:
> Jason,
>
> Passenger wasn't correctly installed - depending when those instructions
> were written, you may be bitten by the recent developments into Passenger
> mod_rails 3.0.
>
> I'm not at a PC - so I cant' check any of this stuff for you right now… but
> you said:
>
>   1. I have deleted the index.html file from public (before, apache would
> show the rails welcome page)
>
> Apache was just serving a HTML file (which you have deleted) - that was no
> indication that Rails was working.... Also your snippet of vhost file makes
> it clear that you haven't configured Passenger. (althoguh I cna't be sure,
> you didn't pastie the whole file)
>
> HTH, come back to me.
>
> Lee

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to