Steve Ross wrote:

> You didn't say what server you were using, but you need to point
> passenger to your *public* directory, not RAILS_ROOT as described
> here: 
> http://www.modrails.com/documentation/Users%20guide%20Apache.html#_deploying_to_a_virtual_host_8217_s_root
> 
> The Apache VirtualHost section they use as an example is:
> 
> <VirtualHost *:80>
>    ServerName www.mycook.com
>    DocumentRoot /weebapps/mycook/public
> </VirtualHost>
> 
> They have a section on nginx if that's the server you are using.
> 
> Hope this helps.

Oh, yeah, thought the config file would make it obvious. It's Apache 
with Passenger. And I am pointing to the public directory:

Directory "/home/me/public_html/myapp/current/public
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to