E
eching
Hi, I am having trouble getting Mozilla firefox to load a swf file
served from WEBrick. When I access the same file from another web
server in firefox, it works fine (apache, abyss, etc)
When I access the file from Internet Explorer 6 (served from WEBrick),
the swf file loads fine. When I try from firefox, I am asked if I want
to download the file.
Here is what WEBrick logs when it serves the file:
localhost - - [21/Dec/2006:10:11:22 CST] "GET /hello.lzx.swf HTTP/1.1"
304 0
I checked in firefox options and it has swf files listed to be opened
with shockwave flash. I also added "swf" =>
"application/x-shockwave-flash" as a mime type in webrick (added to
httputils.rb)
I am a bit green at these finer points of HTTP so if anyone has a
suggestion or possible solution, I'd greatly appreciate it, as I'd hate
to have to use Internet explorer for this particular app. I'd also
like to use WEBrick to serve the application.
Thanks in advance,
Eric
served from WEBrick. When I access the same file from another web
server in firefox, it works fine (apache, abyss, etc)
When I access the file from Internet Explorer 6 (served from WEBrick),
the swf file loads fine. When I try from firefox, I am asked if I want
to download the file.
Here is what WEBrick logs when it serves the file:
localhost - - [21/Dec/2006:10:11:22 CST] "GET /hello.lzx.swf HTTP/1.1"
304 0
I checked in firefox options and it has swf files listed to be opened
with shockwave flash. I also added "swf" =>
"application/x-shockwave-flash" as a mime type in webrick (added to
httputils.rb)
I am a bit green at these finer points of HTTP so if anyone has a
suggestion or possible solution, I'd greatly appreciate it, as I'd hate
to have to use Internet explorer for this particular app. I'd also
like to use WEBrick to serve the application.
Thanks in advance,
Eric