Skip to content


Subversion checkout URL

You can clone with
Download ZIP


File not in tmp when using mod_porter #12

efalcao opened this Issue · 5 comments

4 participants


A note about my system: i'm running snow leopard.

When mod_porter is off, my rails app receives RackMultiPart just fine.

When enabling mod_porter (and the rails plugin). I get an object that looks like this in my params hash:

which all seems great- except there is no file in /tmp named apreqxlq8oj

any ideas/advice? /tmp is definitely chmod 777





I had the same problem. In my case, the apache is on different machine than the mongrels and the /tmp directory is not shared between the two machines. I forked mod_porter and added optional PorterDir parameter to solve my problem. See here.

So that probably doesn't help you much with snow leopard, but I thought I'd mention it.

jcn commented

I see that PorterDir patch has been merged into the main project, but I can't seem to get it working properly. Running on Ubuntu, I followed the installations on the main modporter page and the module works great other than not being able to use PorterDir. Files continue to get streamed into /tmp . Are there any restrictions on PorterDir (owner, path, etc)?


jcn, did you get this figured out? I'm having the same problem on Leopard.


Never got it figured out. We were in the middle of migrating to nginx anyway, so we just finished and used the nginx upload module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.