# Option mime (-m) does'nt work

**URL:** <https://www.ruby-forum.com/t/option-mime-m-doesnt-work/147585>\
**Category:** Mongrel\
**Created:** [September 3, 2008, 12:26pm UTC](https://www.ruby-forum.com/t/option-mime-m-doesnt-work/147585 "2008-09-03T12:26:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anse](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3bc359/32.png) [@anse](https://www.ruby-forum.com/u/anse)\
**Post date:** [September 3, 2008, 12:26pm UTC](https://www.ruby-forum.com/t/option-mime-m-doesnt-work/147585/1 "2008-09-03T12:26:05Z")

</div>

Trying to start Mongrel with:  
ruby script/server -p 3001 -m config/mongrel\_mime.yml

The config-file tells Mongrel to use ISO-8859-1 and includes:  
.htm: text/html; charset=ISO-8859-1  
.html: text/html; charset=ISO-8859-1

But mongrel returns the following error when starting up:

server: invalid option: -m

But isn’t the -m option the one to use?

Anders

---

<div class="post-metadata">

**Author:** ![anse](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3bc359/32.png) [@anse](https://www.ruby-forum.com/u/anse)\
**Post date:** [September 3, 2008, 6:12pm UTC](https://www.ruby-forum.com/t/option-mime-m-doesnt-work/147585/2 "2008-09-03T18:12:32Z")

</div>

The -m option is an option to mongrel\_rails, not script/server. Try  
“mongrel\_rails start -p 3001 -m config/mongrel\_mime.yml” instead, or  
“mongrel\_rails start -h” for help.

Ripta

Anders Eriksen wrote:

> Trying to start Mongrel with:  
> ruby script/server -p 3001 -m config/mongrel\_mime.yml
> 
> The config-file tells Mongrel to use ISO-8859-1 and includes:  
> .htm: text/html; charset=ISO-8859-1  
> .html: text/html; charset=ISO-8859-1
> 
> But mongrel returns the following error when starting up:
> 
> server: invalid option: -m
> 
> But isn’t the -m option the one to use?
> 
> Anders
