|
Home > Archive > Apache Server configuration support > February 2004 > Re: Puzzling...
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Ruby Tuesday 2004-02-20, 10:33 am |
| In my apache configuration, httpd.conf, I have the following:
DefaultType text/plain
I did change it to text/html and restart Apache, it's no go either.
Any advise? Thanks
"Robert" <bobx@linuxmail.org> wrote in message
news:romdnbpDFdNNDKvd4p2dnA@adelphia.com...
> Ruby Tuesday wrote:
>
cgi-bin[color=blue]
or[color=blue]
> Because Apache is interpreting text/html to be HTML and when it sees
> text/plain is looks to the OS for help. My guess is that when you run
> the text/plain one it tries to download the file yes? That is because
> the OS does not have a set MIME type for text/plain.
>
> Or something along those lines... ; )
>
> HTH
| |
| Ruby Tuesday 2004-02-20, 2:33 pm |
| 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:
cgi-bin[color=blue]
> Thought so ;-)
or[color=blue]
> 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
>
>
|
|
|
|
|