Skip to content

Instantly share code, notes, and snippets.

@cecilemuller
Last active October 5, 2015 08:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cecilemuller/2781379 to your computer and use it in GitHub Desktop.
Save cecilemuller/2781379 to your computer and use it in GitHub Desktop.
Apache support for 3D file formats mimetypes (VRML, X3D and Collada)

Edit the file {apache installation directory}/conf/mime.types to add the new types, then make sure to reload Nginx configuration once you're done (e.g. using service apache2 reload on Linux or restarting the Apache service in Wampserver on Windows).

Warning: wampserver already had another mimetype registered for extension .x3d, make sure to remove it from the list.

application/x-bskey bskey
model/vrml wrl wrz
model/x3d-vrml x3dv
model/x3d+xml x3d
model/x3d+fastinfoset x3db
model/vnd.collada+xml dae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment