Adding MIME Type to your Web Server

Q&A about the latest versions
Post Reply
smooth
Posts: 1493
Joined: Sat Sep 09, 2006 7:30 pm

Fri Aug 12, 2011 4:37 pm

Here is a basic graphic to help those who need to add the MIME types to their Web Servers.
Shown here are the two common Pano2VR required MIME types.
.manifest and .svg

Both required for HTML5 panoramas if wanting to use either Scalable Vector Graphics (.svg) or Manifest (.manifest)
server_mime_types.jpg
server_mime_types.jpg (249.47 KiB) Viewed 2098 times
Server control panels will differ but the concept should remain the same.
Enter your MIME Type
Enter your file extension type
Click Add

Be 100% sure of the spelling and do NOT leave spaces before or after the entry.

Hope this helps.

Regards, Smooth 8)
Image
User avatar
Sam Rohn
Posts: 29
Joined: Fri Sep 28, 2007 7:50 am
Location: New York City
Contact:

Fri Aug 12, 2011 9:15 pm

you can also just create a .htaccess file with the following contents

AddType text/cache-manifest .manifest
AddType image/svg+xml svg svgz

create a blank text file, name it htaccess without the (.) dot, paste in the above text, upload it to your server and add the dot after it is uploaded

sam
Sam Rohn :: 360° Panoramic Photography :: Location Scout :: New York City

PanoPress :: WordPress Plugin for 360° Panoramas in Flash & HTML5 :: http://www.panopress.org
smooth
Posts: 1493
Joined: Sat Sep 09, 2006 7:30 pm

Fri Aug 12, 2011 9:58 pm

Yup, if you are using an Apache server the .htaccess addition works fine.
Just as it is stated in the Pano2VR Wiki

I was just offering a visual guide for those who don't quite get it (seems there is a few of them out there).

Regards, Smooth 8)
Image
newbie
Posts: 10
Joined: Sat Jul 28, 2007 1:32 am

Sat Dec 08, 2012 5:40 pm

Thanks Smooth & Sam

Smooth, with GoDaddy hosting (Linux), I couldn't find a clear link in their "Control Panel" for "MIME Types" as your nifty keen clip showed. So I added the .htaccess file in the root as you described.

Hey Sam, you stated "....name it htaccess without the (.) dot ...", well I tried that and for it to work I had to name the file .htaccess (including the dot).

As I said, that worked for me, however, I noticed the .htaccess file is not visible in the FireFox application "FireFTP" file listing but is visible when I use the GoDaddy FTP File Manager. Strange ... computers ... you can't live without them BUT you CAN shoot them!

Thanks again guys
Mo - Vista 64, Canon, CorelDRAW, Lightroom, PTGui PRO, Pano2VR PRO
Post Reply