# Mongrel in development env photo upload problem

**URL:** <https://www.ruby-forum.com/t/mongrel-in-development-env-photo-upload-problem/125840>\
**Category:** Rails\
**Created:** [January 12, 2008, 6:49pm UTC](https://www.ruby-forum.com/t/mongrel-in-development-env-photo-upload-problem/125840 "2008-01-12T18:49:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pathfinder](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/b4bc9f/32.png) [@pathfinder](https://www.ruby-forum.com/u/pathfinder)\
**Post date:** [January 12, 2008, 6:49pm UTC](https://www.ruby-forum.com/t/mongrel-in-development-env-photo-upload-problem/125840/1 "2008-01-12T18:49:06Z")

</div>

I have tried multiple apps that upload photos to run in my development  
environment and had no success until I forced the webrick server  
instead of mongrel. Now, no problems. I am developing on a windows  
machine with an InstantRails setup. Anyone else hear of this problem?

---

<div class="post-metadata">

**Author:** ![pathfinder](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/b4bc9f/32.png) [@pathfinder](https://www.ruby-forum.com/u/pathfinder)\
**Post date:** [January 12, 2008, 8:11pm UTC](https://www.ruby-forum.com/t/mongrel-in-development-env-photo-upload-problem/125840/2 "2008-01-12T20:11:52Z")

</div>

do you have maximum file size for upload files set? I remember  
problems when it was set on some configurations with mongrel.

---

<div class="post-metadata">

**Author:** ![pathfinder](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/b4bc9f/32.png) [@pathfinder](https://www.ruby-forum.com/u/pathfinder)\
**Post date:** [January 13, 2008, 8:54pm UTC](https://www.ruby-forum.com/t/mongrel-in-development-env-photo-upload-problem/125840/3 "2008-01-13T20:54:25Z")

</div>

B. thanks for the reply. I only have file size in app. Have been  
looking for config for mongrel but no luck yet. Can you tell me where  
that is in the file structure?

---

<div class="post-metadata">

**Author:** ![pathfinder](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/b4bc9f/32.png) [@pathfinder](https://www.ruby-forum.com/u/pathfinder)\
**Post date:** [January 17, 2008, 10:05am UTC](https://www.ruby-forum.com/t/mongrel-in-development-env-photo-upload-problem/125840/4 "2008-01-17T10:05:43Z")

</div>

What happen if you disable file size limitation? Does it work then?

Bojan

---

<div class="post-metadata">

**Author:** ![pathfinder](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/b4bc9f/32.png) [@pathfinder](https://www.ruby-forum.com/u/pathfinder)\
**Post date:** [January 17, 2008, 10:13am UTC](https://www.ruby-forum.com/t/mongrel-in-development-env-photo-upload-problem/125840/5 "2008-01-17T10:13:22Z")

</div>

I have an image uploader running mongrel w/ InstantRails as my dev  
environment and I don’t have any issues with it… regardless of size  
of the image. Infact, I just uploaded a 9MB file into my app, resized  
and cropped the image and it all worked fine.
