[Rails] 0.10 + Apache + fcgi

Victor Jalencas victor-ronr at carotena.net
Tue Mar 1 09:46:40 GMT 2005



Belorion wrote:
> I've been struggling to get a webservice I wrote into production with
> Rails 0.10, Apache 2.0.51 and the latest snap of fastcgi, and `gem
> install fcgi`
> 
> Using http://wiki.rubyonrails.com/rails/show/FastCGI I have gotten
> *most* of the way, though I wasn't sure if this needed updating for
> Rails 0.10 (especially in regard to the .htaccess stuff).
> 
> My Apache document root is /var/www/index/.  I created a directory
> /var/www/applications for my rails apps, and did a
> 
> ln -s /var/www/index/applications /var/www/applications

Mmmh should be

  ln -s /var/www/index/applications/myapp/public /var/www/myapp

instead.

And then, the url you're looking  would be

  http://myserver/myapp/mycontroller/wsdl

and so on. Give it a try

Victor


More information about the Rails mailing list