# Mongrel Apache file uploads

**URL:** <https://www.ruby-forum.com/t/mongrel-apache-file-uploads/140100>\
**Category:** Rails\
**Created:** [June 10, 2008, 9:13pm UTC](https://www.ruby-forum.com/t/mongrel-apache-file-uploads/140100 "2008-06-10T21:13:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnnybutler7](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/8491ac/32.png) [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Post date:** [June 10, 2008, 9:13pm UTC](https://www.ruby-forum.com/t/mongrel-apache-file-uploads/140100/1 "2008-06-10T21:13:25Z")

</div>

Hi,

In development i am using webrick to upload files via Ajax without any  
problems. I have since deployed the code to live but when i upload  
certain files word documents, excel sheets, csv its adding an extra  
extension to the file. For example test.xls will become test.xls.doc  
and test.csv will become test.csv.txt

Can anyone explain this behaviour?

JB
