...

View Full Version : Make a certain extension downloadable



Xaqa
08-25-2011, 01:29 AM
I am uploading .schematic files to my website and I want to so that if you click Download you download the file instead of getting this: http://forthelols.com/schematics/lloyd.schematic

Also, sorry if this is in wrong section really don't know where to put this.

Nightfire
08-25-2011, 05:03 AM
Just make a .htaccess file up


<Files *.schematic>
ForceType application/octet-stream
Header set Content-Disposition attachment
</Files>

That might work

Xaqa
08-25-2011, 09:54 PM
I made a .htcaccess file and it's not working.

Xaqa
08-25-2011, 11:29 PM
Scratch that, it worked. Thanks. :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum