Closed Thread Icon

Preserved Topic: SVG on Apache (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=21229" title="Pages that link to Preserved Topic: SVG on Apache (Page 1 of 1)" rel="nofollow" >Preserved Topic: SVG on Apache <span class="small">(Page 1 of 1)</span>\

 
Boudga
Maniac (V) Mad Scientist

From: Jacks raging bile duct....
Insane since: Mar 2000

posted posted 09-15-2002 07:29

How do I incorporate the MIME type for SVG so that I can run SVG stuff on my Apache server?

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 09-15-2002 10:55

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 09-15-2002 14:57

Boudga: I've been through my notes and I believe this should work (although I'm looking through a few SVG play things and I'm not sure if I've actually used it):

header("Content-type: image/svg+xml");

Anyway have a look here:
http://www.zend.com/zend/trick/tricks12apr.php

esp. the comments here: Big ugly link

http://www.carto.net/papers/svg/serverside_svg_php_e.html

[edit: See also:
www.w3.org/TR/SVG/intro.html#MIMEType

support mighty be a little patchy for bit but that is the one you should use]

___________________
Emps

FAQs: Emperor

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 09-15-2002 16:23

InI: In fact how do you fancy that for your next project - a Pocket Illustrator??? Illustrator already allows the importing and exporting of SVG (as they should as it was an Adobe innovation ).

___________________
Emps

FAQs: Emperor

Boudga
Maniac (V) Mad Scientist

From: Jacks raging bile duct....
Insane since: Mar 2000

posted posted 09-16-2002 02:43

I just want the MIME type for SVG so that I can host svg stuff...

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 09-16-2002 07:30

Add the following lines to your .htaccess file:

AddType image/svg+xml svg
AddType image/svg+xml svgz
AddEncoding gzip svgz


InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 09-16-2002 11:23

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 09-16-2002 14:57

InI: Sounds great - any plans for a pen tool? I would imagine that would be a horribly complicated thing. Adding a SVG exporter would be great and really aid importing to all sorts of different graphics and animation formats

Boudga: I think the info you were after was described in the link I gave:
http://www.carto.net/papers/svg/serverside_svg_php_e.html

but mr.maX has already thrown the info in.

___________________
Emps

FAQs: Emperor

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 09-16-2002 15:34

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

« BackwardsOnwards »

Show Forum Drop Down Menu