Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i am trying to serve epub files in IIS6 (Windows Server 2003), but instead the browser serves a 404 Not Found page.

How do i serve EPUB in IIS6?


  1. Open the IIS Microsoft Management Console (MMC), right-click the local computer name, and then click Properties.
  2. Click MIME Types.

    enter image description here

  3. Click New.

    enter image description here

  4. In the Extension box, type the file name extension that you want (.epub).

    enter image description here

  5. In the MIME Type box, type application/epub+zip.

    enter image description here

  6. And click OK:

    enter image description here

  7. Apply the new settings. Note that you must restart the World Wide Web Publishing Service or wait for the worker process to recycle for the changes to take effect.

    enter image description here

  8. Return to the MIME Types dialog, and confirm that your changes were not saved across IIS restart:

    enter image description here

  9. Also confirm that IIS is still not able to serve epub files:

    enter image description here

How do i serve EPUB from IIS 6 (Windows Server 2003)?

Bonus Reading

share|improve this question
    
Great reference! Maybe move the "answer" section to an answer on the question, for clarify? –  Shane Madden Jul 31 '12 at 21:32
    
It should be a great reference. Most of it is copied from the Microsoft KB article in question. –  Michael Hampton Jul 31 '12 at 22:04
    
@ShaneMadden Ummm...it's not an answer - it was the stuff i tried that didn't work. Pay attention to Step 8, where the mime type does not save. –  Ian Boyd Aug 1 '12 at 1:08

1 Answer 1

up vote 1 down vote accepted

Try this:

  1. Open IIS manager
  2. Expand the server from the tree pane on left
  3. Expand Web Sites
  4. Right click on the web site that will be serving the epub files and select properties
  5. Open the HTTP Header tab and then MIME types from the bottom of the pane.
  6. Add the .epub extension with MIME type "application/epub+zip"
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.