OK, so I have mongrel running with the upload progress plugin a-la
http://mongrel.rubyforge.org/docs/upload_progress.html with a DRb
instance taking care of the actual uploads. This works really well in
development, however, I am running just one mongrel server locally.
When I move to my production environment, I am lost as to where I should
put the mongrel_upload_progress.conf file. The contents of this file are
as follows:
–
uri “/”,
:handler => plugin(“/handlers/upload”,
:path_info => ‘/files/upload’,
:drb => ‘druby://0.0.0.0:2999’),
:in_front => true
–
Now, locally, I start mongrel with the following command:
mongrel_rails -S config/mongrel_upload_progress.conf
This works fine, but on my production machine, I have been unable to
find how I go about specifying the contents of the
mongrel_upload_progress.conf in mongrel_cluster. Does anyone know how to
do this?
Any help greatly appreciated!
Matt