[Rails-deploy] Re: Sphinx: Install oinly on MySQL server?

2008-04-25 Thread Pat Allan
Hi Raul Since Sphinx talks directly to MySQL, it's definitely best to have it on the same server. Theplugins will be able to talk to a remote server (provided the port isn't blocked), so you should be fine with just the one Sphinx daemon. That said, if it does prove to be a bottleneck

[Rails-deploy] Re: Sphinx: Install oinly on MySQL server?

2008-04-25 Thread Raul
Thanks for the response! I run a very beefy MySQL server so I hope with some caching of the app to keep database load down I'll be ok. Raul - Original Message - From: Pat Allan [EMAIL PROTECTED] To: rubyonrails-deployment@googlegroups.com Sent: Friday, April 25, 2008 8:24 AM

[Rails-deploy] Re: referrer logging?

2008-04-25 Thread Jonathan Rochkind
To answer my own question from a month ago, to add logging of HTTP referer (spelled right) into a Rails (1.2.x; can't speak for 2.x) app, override log_processing in application.rb: def log_processing super if logger logger.info? logger.info( HTTP Referer: #{request.referer})