W3C home > Mailing lists > Public > www-svg@w3.org > September 2007

Re: I can't seem to host svg files...

From: Oliver Hunt <oliver@apple.com>
Date: Fri, 28 Sep 2007 00:27:19 -0700
Message-Id: <A3A033E4-E2D3-49D0-9C17-7C0EB56C4DD6@apple.com>
Cc: www-svg@w3.org
To: kizzume <kizzume@gmail.com>

> Why can't files just be used as files?  I guess I just don't  
> understand--at
> all.  A file isn't a file unless there's something on the server to  
> tell it
> that it's a certain type of file?  Why is that necessary?  It goes  
> right
> over my head, and since I really don't understand what I'd be  
> asking the
> host, I'm going to have to refrain until I do understand.

The mime type (or media type) tells the browser what the type of the  
file is, the name has *no* meaning, all that matters is what the  
browser is told.

>
> "Yes, I'm calling because I want you to change the mime type to be  
> correct.
> No, I don't really know what that means, but I need you to do it."
You should be able to say that their server isn't reporting the  
correct mimetype for svg files, they should be able to configure  
their server to report the correct one.

--Oliver

>
> That's alright.
>
> Thanks for the help.
>
>
> Oliver Hunt-2 wrote:
>>
>>
>> Your host is serving the SVG files with text/plain as the mimetype,
>> you'll need to contact your host so that they can setup the server to
>> report the correct mimetype.
>>
>> --Oliver
>>
>> On 27/09/2007, at 6:19 PM, kizzume wrote:
>>
>>>
>>>
>>> Is this something you can tell if you try to look at the file,
>>> because I
>>> really truly have absolutely no idea what you're talking about.
>>> All I know
>>> about the kind of server I have is that it holds files.  I log in  
>>> with
>>> FireFTP, create directories, and upload files.  It's one I pay a
>>> yearly fee
>>> for.  That probably doesn't tell you anything though.
>>>
>>> The server is not an application server--it just holds files.
>>>
>>> Here's one I made a copy of that was working perfectly on another
>>> server:
>>> http://www.infraxes.com/kizzume/images/flag_of_france.svg
>>>
>>> Here's one I converted with inkscape from a bmp:
>>>
>>> http://www.infraxes.com/kizzume/images/kizzume-logo.svg
>>>
>>> And here's a stupid test drawing made in inkscape:
>>>
>>> http://www.infraxes.com/kizzume/images/drawing.svg
>>>
>>>
>>>
>>> Oliver Hunt-2 wrote:
>>>>
>>>>
>>>> First guess: Your server isn't sending the correct mimetype -- you
>>>> should make sure it is definitely being sent as image/svg+xml
>>>>
>>>> --Oliver
>>>>
>>>> On 26/09/2007, at 5:22 AM, kizzume wrote:
>>>>
>>>>>
>>>>> I can take an svg file from another server that works great when I
>>>>> embed it
>>>>> into a page, but as soon as I copy that same svg file to my server
>>>>> and host
>>>>> it there, it won't view as a picture--it just shows it in text  
>>>>> form
>>>>> instead.
>>>>>
>>>>> Am I doing something wrong, or are there some servers that put  
>>>>> on a
>>>>> strange
>>>>> limitation or something?
>>>>> -- 
>>>>> View this message in context: http://www.nabble.com/I-can%27t- 
>>>>> seem-
>>>>> to-host-svg-files...-tf4522017.html#a12899768
>>>>> Sent from the w3.org - www-svg mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>> -- 
>>> View this message in context: http://www.nabble.com/I-can%27t-seem-
>>> to-host-svg-files...-tf4522017.html#a12933163
>>> Sent from the w3.org - www-svg mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/I-can%27t-seem- 
> to-host-svg-files...-tf4522017.html#a12935804
> Sent from the w3.org - www-svg mailing list archive at Nabble.com.
>
>
Received on Friday, 28 September 2007 07:27:41 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 10 December 2014 19:59:27 UTC