Friday, November 18, 2011

setting up live video streaming - download links

This will be a series of posts about setting up video streaming on our new dedicated server from Voxel.

Setting up a download link - I tried to do this by adding the .htaccess file like in dl.radiosai.org with the lines


  ForceType application/octet-stream
  Header set Content-Disposition attachment


But this did not work, even when I modified the config file again, as in
https://help.ubuntu.com/community/EnablingUseOfApacheHtaccessFiles
adding the line
AllowOverride All
So, did it by editing the config file:
http://www.jtricks.com/howto/content_disposition/apache2.html

       
                Options FollowSymLinks
                AllowOverride All
               
                    ForceType application/octet-stream
                    Header set Content-Disposition attachment
               

       
 
Then, files can be either copied or linked into the download directory, and accessing them automatically gets the "Save as" dialog box for the user.

No comments:

Post a Comment