Hey, try out our new service http://teatro.io, which allow you to run stage 
server automatically in the cloud.

понедельник, 23 июня 2014 г., 19:20:55 UTC+4 пользователь Liz Huang написал:
>
>
>
> Hi, 
>
> I just upgrade a few apps from Rails 2.3.18 to Rails 4.0.4 and make sure
> the apps are running on WEBrick. I follow the steps I have done to set up
> apps by Apache on Snow Leopard, first install passenger and add the 
> following to /etc/apache2/httpd.conf
>
>   LoadModule passenger_module 
> /usr/local/opt/passenger/libexec/buildout/apache2/mod_passenger.so
>
>   PassengerRoot 
> /usr/local/opt/passenger/libexec/lib/phusion_passenger/locations.ini
>
>   PassengerDefaultRuby /usr/bin/ruby
> then try to add RailsBaseURI /most (most is my rail project) in the .conf  
> inside /etc/apache2/sites/, 
> but no .conf file there anymore for Mac Marvericks, rather I find the 
> .conf in folder
> /Library/Server/Web/Config/apache2/sites, so I add the "RailsBaseURI 
> /most" in the
> file 
>
> Then I add a symlink as following:
>
> ln -s /Library/WebServer/most/public /Library/WebServer/Documents/most 
>
>
> sudo apachectl stop
> sudo apachectl start
>
> Page http://localhost/most is like following:
>
> Index of /most 
>    
>    - Parent Directory <http://localhost/>
>    - 404.html <http://localhost/most/404.html>
>    - 422.html <http://localhost/most/422.html>
>    - 500.html <http://localhost/most/500.html>
>    - favicon.ico <http://localhost/most/favicon.ico>
>    - robots.txt <http://localhost/most/robots.txt>
>
> Apache/2.2.26 (Unix) Phusion_Passenger/4.0.41 mod_ssl/2.2.26 
> OpenSSL/0.9.8y DAV/2 mod_wsgi/3.3 Python/2.7.5 Server at localhost Port 80
> and couldn't display http://localhost/most/rannumgenerator/index     
> (rannumgenerator is controller I generated in most project).
>
> Wonder if something that I should do for Mac Mavericks or some setting for 
> Apache that I am not aware?
>
> Thanks!
> Liz Huang
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/43980a78-e75a-4c03-a5fd-f5321a4d6959%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to