Below is my code:
This sounds like the directive is used in your (supposedly) Apache web server? You would need to check the httpd.conf for this directive and make sure that POST is allowed to be called on your file.
Nevertheless does it seem a little odd to POST on a static html file or is mod_rewrite being used to confuse people?