Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

this question got me halfway there:

How to tell IIS7 to allow POST to a text file (to solve 405)?

except now my POST throws a 404 instead of a 405. If I load the page directly, it loads fine, but following a POST it 404s.

How can I enable GET and POST for static HTML files in IIS 7? I... have no idea what I'm doing. Please help!

share|improve this question
For reference, I am deploying a static HTML mockup of a site that we are using for usability testing of the UI. One of the processes is a multi-step form wizard, so rather than rewrite the pages to not use POST even though I am not capturing/passing any data, I'd like to get the existing copy to just work. – Mathletics Dec 9 '11 at 20:52
up vote 2 down vote accepted

For those who stumble on this, details step by step resolution for this issue

share|improve this answer
Awesome, this is very close to what I ended up doing, but without having to rename the files. Thanks! – Mathletics Jul 31 '12 at 13:11
Thanks! How could you get this to work with different file types in general, such as jpg? – Panzercrisis Apr 29 '15 at 16:01
I mean, it seems to have a little bit of trouble if data is saved as bytes and has non-textual characters. – Panzercrisis Apr 30 '15 at 12:38

Your Answer


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.