How do I configure a web server for .torrent files?
You must associate files ending in .torrent with the Content-Type application/x-bittorrent. For Apache, you should add the line: AddType application/x-bittorrent .torrent to your httpd.conf configuration file. If you cannot modify the main httpd.conf file (such as in the case of a shared or virtual hosting scenario), you can also put the above AddType directive in a .htaccess file. This presumes that the server’s administrator has enabled this ability with the AllowOverride FileInfo directive. Also note that settings in a .htaccess file only apply to the directory containing the file, so make sure this is the directory that will contain the .torrent files. Alternatively, you can add the line: application/x-bittorrent .torrent to your mime.types file, which is used if the TypesConfig directive is present in httpd.conf.
You must associate files ending in .torrent with the Content-Type application/x-bittorrent. For Apache, you should add the line: AddType application/x-bittorrent .torrent to your httpd.conf configuration file. If you cannot modify the main httpd.conf file (such as in the case of a shared or virtual hosting scenario), you can also put the above AddType directive in a .htaccess file. This presumes that the server’s administrator has enabled this ability with the AllowOverride FileInfo directive. Also note that settings in a .htaccess file only apply to the directory containing the file, so make sure this is the directory that will contain the .torrent files. Alternatively, you can add the line: application/x-bittorrent .torrent to your mime.types file, which is used if the TypesConfig directive is present in httpd.conf. To add MIME types with Microsoft’s IIS web server: • Right-click the Web site and choose Properties. • Select the HTTP Headers tab. • In the MIME Map box, click File Type