Home > Uncategorized > Serve .torrent files from IIS7

Serve .torrent files from IIS7

By default IIS7 will not serve files with unknown MIME types, one of these could be the .torrent file type, which simply returns a 404 error.

From a command prompt, run %windir%\system32\inetsrv\appcmd set config /section:staticContent /+”[fileExtension=’.torrent’,mimeType=’application/x-bittorrent’]”

Then IISReset

(I’m not 100% sure if IISReset is required, but it worked for me).

Advertisements
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: