# Strange upload problem

**URL:** <https://www.ruby-forum.com/t/strange-upload-problem/92063>\
**Category:** Rails\
**Created:** [April 15, 2007, 3:56pm UTC](https://www.ruby-forum.com/t/strange-upload-problem/92063 "2007-04-15T15:56:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geoffroy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c57346/32.png) [@Geoffroy](https://www.ruby-forum.com/u/Geoffroy)\
**Post date:** [April 15, 2007, 3:56pm UTC](https://www.ruby-forum.com/t/strange-upload-problem/92063/1 "2007-04-15T15:56:49Z")

</div>

Hello,

I’m using file\_column to upload files to the server.  
I can upload everything, except .jpg and .png (the two formats I need).  
If I try to trick the server and replace the extension, it doesn’t work.  
I assume the mime type is used.

The strange part is that everything works fine on my windows box in  
development.  
I’m on fedora with rails 1.1.6 and 1 mongrel instance proxyed by apache.

I would think it comes from the server, but I’m no linux pro and it’s  
way out of my knowledge.

If someone has a pointer, I’m open to everything.

Thanx in advance

Geoff

ps: the site is bmct.be (just in case)
