-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File not in tmp when using mod_porter #12
Comments
bump! |
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. |
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. |
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:
<ModPorter::UploadedFile:0x10407c3a8 @content_type="application/octet-stream", @original_filename="Argentina.gif", @path="/tmp/apreqxlq8oj">
which all seems great- except there is no file in /tmp named apreqxlq8oj
any ideas/advice? /tmp is definitely chmod 777
thanks!
The text was updated successfully, but these errors were encountered: