mongrel_railsとmime type
- 雛形になるconfigを作る
hitokuro$ mongrel_rails start -G config/mongrel_opts.conf ** Writing config to config/mongrel_opts.conf ## Exiting. Re-run without -G and WITH -C using your new config file.
:mime_map: config/mongrel_mime.conf
hitokuro$ cat config/mongrel_mime.conf .js: text/javascript; charset=UTF-8 .json: text/javascript; charset=UTF-8 .htm: text/html; charset=UTF-8 .html: text/html; charset=UTF-8 .css: text/css; charset=UTF-8 .txt: text/plain; charset=UTF-8
参項
http://mongrel.rubyforge.org/docs/howto.html
っていうかコレもしかして railsのenvironmentに入っちゃう?そんな気がしてきた29才