Re: [EMAIL PROTECTED] Weird gibberish when loading a gif in Firefox, but it's fine in IE...
Ok i got the httpd.conf and mime.types file from my systems person and the conf file seems correct...here's a snip of httpd.conf: TypesConfig /etc/httpd/conf/mime.typesand in mime.types:image/gif gifShouldn't this be all there is to making the server send the correct content-type for the image? if so, then the only other explanation now would be whether or not mod_mime.c is loaded, correct? (sorry i would test this right now but this is production stuff)thanks thanks thanks...Joshua Slive <[EMAIL PROTECTED]> wrote: On 7/19/06, Edric <[EMAIL PROTECTED]> wrote:> Hi,>> I did look at that earlier and I saw that the TypesConfig directive points> to a mime.types file with the following entry:> image/gifgif>> one little quirk i just realized is that the web app/server I'm debugging> isn't the one that hosts the dynamically generated gif file... i have no> control over that server and my app merely accesses the link. would that be> the cause of the problem?Yes. The server that is sending the image must send the correctcontent-type in the http headers. There is no way to work aroundthat.Joshua.-The official User-To-User support forum of the Apache HTTP Server Project.See for more info.To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] See the all-new, redesigned Yahoo.com. Check it out.
Re: [EMAIL PROTECTED] Weird gibberish when loading a gif in Firefox, but it's fine in IE...
Hi,I did look at that earlier and I saw that the TypesConfig directive points to a mime.types file with the following entry:image/gif gifone little quirk i just realized is that the web app/server I'm debugging isn't the one that hosts the dynamically generated gif file... i have no control over that server and my app merely accesses the link. would that be the cause of the problem?Thanks again.Joshua Slive <[EMAIL PROTECTED]> wrote: On 7/19/06, Edric <[EMAIL PROTECTED]> wrote:> Hi,>> There's no content-type being set in the header... this is all i have in the> head:>> > > > thanks for your helpHe means the HTTP response header, not the html header. Look at themime.types file configured by the TypesConfig directive oralternatively use an AddType directive to set the correct type. See:http://httpd.apache.org/docs/2.2/mod/mod_mime.htmlJoshua.-The official User-To-User support forum of the Apache HTTP Server Project.See for more info.To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta.
Re: [EMAIL PROTECTED] Weird gibberish when loading a gif in Firefox, but it's fine in IE...
Hi,There's no content-type being set in the header... this is all i have in the head:<head><link href="/css/style.css" rel="stylesheet" type="text/css">head>thanks for your helpDavid Salisbury <[EMAIL PROTECTED]> wrote: Well I think that last part means your mime stuff ( the types file ) is then completely ignoredby apache.I'd guess IE reads the file as it's coming in, and figures out it's content type.Is your script sending a Content-type: in the header? I'm betting it's being defaultedto text/plain by either Apache or Firefox.-ds- Original Message - From: "Edric" <[EMAIL PROTECTED]>To: Sent: Wednesday, July 19, 2006 5:11 PMSubject: Re: [EMAIL PROTECTED] Weird gibberish when loading a gif in Firefox, but it's fine in IE...> also the link returns a dynamically generated gif file so there's no gif extension>> Edric <[EMAIL PROTECTED]> wrote: he i'm trying to load this gif that has its src set to our apache server>> anyhow when i load in firefox, i get strange binary data that is shown as text, while in ie it shows the image perfectly fine.>> is this an apache configuration problem or is it something else? i looked at the mime magic file that my httpd.conf file is > pointing to and it has this line:>> # GIF> 0stringGIFimage/gif>> i'm not very familiar with MIME stuff... so any simple or trivial (to you) suggestion would be great... thanks.>>> -> Yahoo! Music Unlimited - Access over 1 million songs. Try it free.>>> -> Do you Yahoo!?> Everyone is raving about the all-new Yahoo! Mail Beta. -The official User-To-User support forum of the Apache HTTP Server Project.See for more info.To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
Re: [EMAIL PROTECTED] Weird gibberish when loading a gif in Firefox, but it's fine in IE...
also the link returns a dynamically generated gif file so there's no gif extensionEdric <[EMAIL PROTECTED]> wrote: he i'm trying to load this gif that has its src set to our apache serveranyhow when i load in firefox, i get strange binary data that is shown as text, while in ie it shows the image perfectly fine.is this an apache configuration problem or is it something else? i looked at the mime magic file that my httpd.conf file is pointing to and it has this line:# GIF0 string GIF image/gifi'm not very familiar with MIME stuff... so any simple or trivial (to you) suggestion would be great... thanks.Yahoo! Music Unlimited - Access over 1 million songs. Try it free. Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta.
Re: [EMAIL PROTECTED] Weird gibberish when loading a gif in Firefox, but it's fine in IE...
and also here's an example of the gibberish i see:GIF89a* Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
[EMAIL PROTECTED] Weird gibberish when loading a gif in Firefox, but it's fine in IE...
he i'm trying to load this gif that has its src set to our apache serveranyhow when i load in firefox, i get strange binary data that is shown as text, while in ie it shows the image perfectly fine.is this an apache configuration problem or is it something else? i looked at the mime magic file that my httpd.conf file is pointing to and it has this line:# GIF0 string GIF image/gifi'm not very familiar with MIME stuff... so any simple or trivial (to you) suggestion would be great... thanks. Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
[EMAIL PROTECTED] Windows XP Apache 2.0 msi file buggy?
i wasted a good 3 hours or so wondering why the http server test page wouldnt work, finally realizing that Apache does not like spaces in the file path. for example, by default, the installation file creates the folder "Apache 2," which messes things up for me... is this just a windows xp problem, just my problem, or what? I've installed this on linux before and dont recall having this type of problem. i've searched the FAQ and documentation but didn't notice anything mentioning this issue.thanks Yahoo! Music Unlimited - Access over 1 million songs. Try it free.