On Feb 12, 2009, at 5:22 PM, Stefan de Konink wrote:

Jacob Wright wrote:
I have a RESTful API built with PHP that uses the HTTP methods GET, POST, PUT and DELETE. But I'm getting a 405 Method not allowed error from Cherokee. Any ideas how to turn this off or handle it? I've got rules set up already so that php files are handled correctly, any existing file will be delivered statically, and anything else will redirect to index.php.

I have implemented the OpenStreetMap protocol that is pretty RESTful with freaky methods; when are you getting the 405?

I'm getting it when I do a PUT on a url that should get redirected to index.php. I'm sending JSON in the body. Not sure what else there is to tell about it.

So it should be working then? I'll look into it more and do some more tests.

Jac

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to