From: junegunn choi Date: 2011-02-23T12:49:04+09:00 Subject: Re: Show text from text file in cgi script --20cf3054a05759e8c4049ceafa7c Content-Type: text/plain; charset=ISO-8859-1 Assuming that you have set your web server properly (presumably apache with mod_ruby?) I think you should check the safeness level as you are trying to use "tainted" data, in this case file content. By default, you are not allowed to do so. So try with different safeness level. The following links might be helpful. http://www.modruby.net/en/index.rbx?mode=search&word=shugo#label-17 http://ruby-doc.org/docs/ProgrammingRuby/html/taint.html Regards, Junegunn Choi. --20cf3054a05759e8c4049ceafa7c--