From: "Williams, Chris" Date: 2004-12-03T05:49:23+09:00 Subject: Re: Problem with Rails and embedded SVG? > -----Original Message----- > From: Florian Gross [mailto:flgr@ccan.de] > Sent: Thursday, December 02, 2004 2:13 PM > To: ruby-talk@ruby-lang.org > Subject: Re: Problem with Rails and embedded SVG? > > Williams, Chris wrote: > > > Now, I'm running into something weird. When I try to embed the SVG in > the > > rhtml using either the embed or object tags the SVG never actually loads > - > > there's a nice big box where the chart should be and IE loads the page > for a > > very long time. > > > > When I open the SVG file itself in IE, it displays fine. > > When I create a static html page on my HD that contains the exact same > > contents as the generated .rhtml page, it works fine. > > When I load the same static page through Apache, it works fine. > > This sounds a lot like a Content-Type problem. Can you compare the > Content-Type that is used when you do this with a static page on Apache > versus the dynamic one via .rhtml? How can I easily do this? I'm not sure how to check... Thanks, Chris