builders guide | Putting Spots on the Web


Putting 3DML on the Web: Add an .htaccess file to your web server

If you already have a .htaccess file, then all you need to do is add the following line to this file near the bottom:

AddType model/vnd.flatland.3dml .3dml .3dm

If you don't know whether or not you have a .htaccess file, then you probably don't. So here's what to do:

Download this .htaccess file, and rename the file by adding a period [.] to the beginning of the file name. The file should now be called ".htaccess". Don't forget that period! Without the period at the beginning of the file name, it won't work. Now you can FTP that .htaccess file into the top level directory for your Web site.

The top level directory of your Web site is the directory (or folder) on your server that holds all of the contents of your Web site. For instance, if the URL for your Web site is http://www.acme.net/~myname , then when you connect to the acme server via ftp, you probably land in a directory called "myname". This is the directory where you want to put the .htaccess file.

Before you FTP your .htaccess file into the top level directory of your site, check the directory, and make sure you don't already have an .htaccess file. If you already do, download the file, add the line from the top of this page, and upload your new .htaccess file back into your directory.

We know this can be a confusing process, so if you have any questions, please email Flatland Help at help@flatland.com


Once your 3DML spot is up and running on your web site, let us know, and we'll add it to the growing 3Directory of 3DML spots all over the web.