[Rails] 0.10 + Apache + fcgi

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


Sorry, the other way around:

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

Victor Jalencas wrote:
> 
> 
> 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
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails



More information about the Rails mailing list