Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: stiperstones on February 20, 2006, 12:57:47 PM
-
Currently working on a request from local community football club who would like to run there own server so i have suggested sme 7.0 when released has finished. They want to serve torrent files of the matches played. So they would like to see a test/production first
Using this installed to a ibay http://participatoryculture.org/broadcast/
or this http://www.blogtorrent.com/
I want to add a mime type torrent to httpd.conf using the template fragments but unsure of the of the correct way to do this i have downloaded the sme 7 documentation but can not quite understand th the template fragment part to add this mime type.
A little help required please
Thanks in advance
-
Is this the correct way to add mime type
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
pico 75AddType05.torrent
add this to the file
#add mime type torrent to httpd.conf
AddType application/x-bittorrent .torrent #is there a return after this!
if this is correct what is the command to expand the template
-
Is this the correct way to add mime type
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
pico 75AddType05.torrent
add this to the file
#add mime type torrent to httpd.conf
application/x-bittorrent .torrent #is there a return after this!
Doesn't matter - you can have as many returns as you like.
if this is correct what is the command to expand the template
expand-template /etc/httpd/conf/httpd.conf
/etc/rc7.d/S86httpd-e-smith restart
-
Again thanks Charlie