Rahmat Budiharso wrote:
> I use passenger to, and it works like a charm.
> this is what i got in my /etc/apache2/sites-available/rails
> 
> <VirtualHost *:80>
>    ServerName rpdam.local
>    DocumentRoot /home/rahmat/Rails-Projects/pdam/public
>    RailsEnv development
> </VirtualHost>

I had it like this:

<VirtualHost *:80>
    ServerName dev.docsearch.net
    DocumentRoot "/var/www/html/docsearch/public/"
</VirtualHost>

<Directory /var/www/html/docsearch>
   RailsEnv development
</Directory>

Which I copied that from the Phusion webpage documentation.  Anyway, 
moving "RailsEnv ..." into the VirtualHost block worked.  I guess that 
documentation kicked my ass!

Thanks Rahmat.
-- 
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to