Hi Osuka, yes you are right. I'm using IE6. I'm still puzzled. Yes, I'm familiar with eruby. I'd rather to use mod_ruby and eruby if I can. But since I could not find mswin32 binaries for mod_ruby for quite sometimes, I had to use the CGI method. Perhaps if you can tell me where to get mswin32 version of the latest eruby/mod_ruby for Ruby 1.8.1 and Apache 2.0.48, I'll take that route. Much Appreciated. PS: I downloaded Mozilla and test it. It all work out! So, what's the deal with IE6? "Osuka Adartse" <rocioestradacastaneda / prodigy.net.mx> wrote in message news:4036BD4F.1070601 / prodigy.net.mx... > Ruby Tuesday wrote: > > Oops ... I'm using them on the browser. Both of those files is in cgi-bin > > directory. I wonder why the text/plain gave me errors. > Thought so ;-) > > > > I'm using Apache2.0.48/Ruby1.8.1. Thanks > > > > The error(s) > > First, a pop up windows with the message as follow: > > Some files can harm your computer. If the file information below > > look suspicious, or you do not fully trust the source, do not open or > > save this file. > > > > File name: ex2.rb > > File type: > > From: webserver > > > > Would you like to open the file or save it to your computer? > > > > Open Save Cancel More Info > > > > When I click open, a DOS window flashed quickly then dissapear. > > > >> > And using IE? or I'm wrong?, that behaviour I couldn't recreate it on > Mozilla(which does the smart thing), IE does the dialog thing, I guess > this is caused because IE is more intimate with windows and looks up the > file types for the .rb extension, either it saves the file or > downloads it and then executes it(if clicking on open) hence the > flashing dos window. > > Maybe using a .rb extension isn't that good('cos IE will look it up in > filetypes). > > I've to wonder if you're familiar with eruby, I asked how You were using > it 'cos as normal scripts those run fine and if I paste'em inside a > rhtml those also worked as expected(even on IE). > > Eruby at http://modruby.net/ > > look up msg id 92598 to see my setup 2.0.47 + 1.8.1 > http://www.ruby-talk.org/ruby/ruby-talk/index.shtml > >