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/ EnablingUseOfApacheHtaccessFil es
adding the line
http://www.jtricks.com/howto/ content_disposition/apache2. html
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/
adding the line
AllowOverride AllSo, did it by editing the config file:
http://www.jtricks.com/howto/
Options FollowSymLinks
AllowOverride All
ForceType application/octet-stream
Header set Content-Disposition attachment
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