search for: mongrel_mime

Displaying 3 results from an estimated 3 matches for "mongrel_mime".

2006 Sep 11
8
fckeditor works, but i cant get my buttons back...
...cause this doesn''t happen under webrick. Anyway, I was able to get fckeditor: http://www.fckeditor.net/ to work under rails: http://www.joshuamcharles.com/xhtml/fckrails.php i even saw the part about adding "1. Adding a YAML configuration file. For example, create $(RAILS_ROOT)/config/mongrel_mime.yml with the contents: xml: "text/xml" 2. When starting mongrel_rails, add the configuration file using the "-m" option, e.g.: mongrel_rails start -m config/mongrel_mime.yml" and that gives me a text box when i translate that to mongrel_cluster.yml ad a config: mongrel_...
2007 Apr 17
5
How to change the default encoding for dynamic pages
Hello, I''m trying to write a rails application serves by mongrel and using accentuated characters in the .rhtml page. But Mongrel replace them by ''?'' . It works fine for static pages by defining the charset to iso-8859-1 in the mongrel_mime.yml But how to change the default encoding (seems to be UTF-8) for the dynamic pages ? thanks for your help. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20070417/fd6be7fc/attachment-0001.html
2006 May 18
1
mime yaml
First off, apologies if this is addressed.. I didn''t find anyone having the same problem (which usually means the problem is me!) I''m running the standard command to start a Rails server, with additional custom mime YAML: mongrel_rails start -m /etc/mongrel_mime.yml Content of the /etc/mongrel_mime.yml is only a single line: .xml: text/xml However, the custom mime isn''t picked up and my XML files were served with default mime. A bit of digging I found trunk/bin/mongrel_rails (line 87) containing lines to parse the YAML file: mime = {}...