On Thu, Oct 9, 2008 at 10:22 AM, fRAnKEnSTEin <[EMAIL PROTECTED]> wrote:

> After fixing that 3 errors i re-run the installer by:
> passenger-install-apache2-module
> and installation was successfull.
>
> 3- i edited my http.conf file located at: pico /usr/local/apache/conf/
> httpd.conf
> 4- i added the lines and save, so my httpd.conf file look like:
> ...
> LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/
> passenger-2.0.3/ext/apache2/mod_passenger.so
> PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.0.3
> PassengerRuby /usr/bin/ruby
>
> <VirtualHost 69.73.160.174:80 *>
>      ServerName www.mydomain.com
>      DocumentRoot /home/user/public_html/railsapp/public
> </VirtualHost>

It's a good idea to use bin/apachectl -t and bin/apachectl -S to check
your config file syntax.

I didn't bother setting up a virtual host (yet), but on my installation I
changed both the DocumentRoot directive and the primary Directory
directive to both point to the public folder of my rails app. I believe
those need to be in sync.

Besides that, have you looked at your httpd log files?

-- 
Hassan Schroeder ------------------------ [EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
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