Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

How can I enable REST methods (POST, GET, PUT, DELETE) for Apache 2 under Windows ?

share|improve this question

You may consider running the Axis2 engine. You may also be interested in wso2.

Hope this helps.

share|improve this answer

As I understand it, REST simply makes use of the existing HTTP protocol - so when you wnat to use a REST POST, at teh protocol layer you're really using an HTTP POST. That would mean that REST methods should be enabled by default on all web servers. Now, if you want the server to do anything interesting with REST calls, you'd still need to write a program to do interesting stuff - just like writing any other CGI program.

share|improve this answer
I know that, but by default Apache does not support other methods than GET and POST. – Christian Toma Aug 10 '09 at 13:47
According to : <quote>There is some confusion about whether Apache supports the PUT method. In fact, Apache handles PUT exactly like it handles the POST method. That is, it supports it, but in order for it to do anything useful you need to supply a suitable CGI program. This is on contrast to the GET method, which Apache supports internally by sending back files or SSI documents. </quote> There's further instruction for setting up a CGI script to handle HTTP methods under that link. – atk Aug 10 '09 at 14:40

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.