I created a test document with a single link to my web page wexfordpress.com. I saved it as drawing.svg. Locally when I address drawing.svg in firefox I get the page with the link on it. The link works (yay!).
But when I stored it on my other website, wexfordpress.net, in the folder /var/www/html where my other web pages go, it doesn't work correctly. Instead I get a display of the internal svg code. When I tried to put it in the root directory of wexfordpress.net Firefox can't find it at all.
I suspect my web host doesn't support svg in any manner.
Has anyone here successfully mounted an svg page on a remote web host? If so, what was the host?
It sounds like it _might_ be a mimetype problem. Have a look at this website which has a tool to check the mimetype you're sending for your SVG file, and instructions on how to add it to your server if it's missing:
http://planetsvg.com/tools/mime.php
Mark
On Fri, 2 Sep 2011 17:01:47 +0100 Mark Crutch <markc@...2744...> wrote:
It sounds like it _might_ be a mimetype problem. Have a look at this website which has a tool to check the mimetype you're sending for your SVG file, and instructions on how to add it to your server if it's missing:
http://planetsvg.com/tools/mime.php
Mark
First, thanks for your help. I put the .htaccess file in the same remote directory as the file drawing.svg and it still won't play. I checked it out using http://planetsvg.com/tools/mime.php and my file passed inspection.
On Fri, 2 Sep 2011 14:49:15 -0400 john Culleton <john@...1668...> wrote:
On Fri, 2 Sep 2011 17:01:47 +0100 Mark Crutch <markc@...2744...> wrote:
It sounds like it _might_ be a mimetype problem. Have a look at this website which has a tool to check the mimetype you're sending for your SVG file, and instructions on how to add it to your server if it's missing:
http://planetsvg.com/tools/mime.php
Mark
First, thanks for your help. I put the .htaccess file in the same remote directory as the file drawing.svg and it still won't play. I checked it out using http://planetsvg.com/tools/mime.php and my file passed inspection.
Now it displays properly. But the link in it won't work. I get a fancy 401 page from my host, Doteasy.com.
The link works fine on my own computer in firefox. So it is not the browser. I have a query in to doteasy.com
In the meantime, are there web hosts who are svg-friendly? Any recommendations?
On Fri, 2 Sep 2011 14:49:15 -0400 john Culleton <john@...1668...> wrote:
On Fri, 2 Sep 2011 17:01:47 +0100 Mark Crutch <markc@...2744...> wrote:
It sounds like it _might_ be a mimetype problem. Have a look at this website which has a tool to check the mimetype you're sending for your SVG file, and instructions on how to add it to your server if it's missing:
http://planetsvg.com/tools/mime.php
Mark
First, thanks for your help. I put the .htaccess file in the same remote directory as the file drawing.svg and it still won't play. I checked it out using http://planetsvg.com/tools/mime.php and my file passed inspection.
Now it works. I just had to correct the link in the inkscape document. Dumb mistake.
the wonder is how did it work before locally?
participants (2)
-
john Culleton
-
Mark Crutch