Topic: App with Carrierwave and Uploadify - Load Balancer

I have an App with a multiple upload for files, implemented with Carrierwave and Upoadify. The application runs on an Amazon Passenger Server with a Load Balancer in front.

In Development mode on my local machine the upload works fine. But on production no file is uploaded, you only get redirected. There's no error message in production.log.

Could it be a problem with the session? We have only one passenger behind the load balancer. The application is protected with http basic auth.

Last edited by rsimpac (2012-07-11 09:54:19)

Re: App with Carrierwave and Uploadify - Load Balancer

I created a middleware class in app/middleware and added this class to the load path in environment.rb. Now it works in production too.

Last edited by rsimpac (2012-07-12 04:20:34)