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

I am getting the following error when posting to a php script on iis 7.5.

I am posting xml content with the text/xml content type.

The error returned is : -

405 - HTTP verb used to access this page is not allowed.

I am an apache user usually so am a bit stuck with this problem on IIS, thanks in advance for any help.

share|improve this question

1 Answer 1

The HTTP Status code 405 (Method not allowed) means you tried to POST data to a URL that only allows GET requests, or vice versa.

In Microsoft IIS parlance, a verb equates to a HTTP Method.

share|improve this answer
Yeah I worked that much out but can't seem to figure out how to allow POST. I tried looking in the application handlers and still nothing. –  rsmarsha Mar 15 '12 at 12:30

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.