Yeah I don't think you can use just couch. Might have to have a proxy in front 
of it. To my understanding you can't rewrite the URL and the method (POST to 
GET for example), only the URL. Someone else may have to confirm who knows more 
about the URL rewrite stuff.... Although someone also may be able to help you 
tweak the rewrite code to allow it.

On Jun 1, 2011, at 9:16 PM, Ryan McKillen <[email protected]> wrote:

> Bump. Anyone have some insight on this? Looks like I may have to use a
> traditional web server instead of Couch.
> 
> On Tue, May 17, 2011 at 10:05 AM, Ryan McKillen 
> <[email protected]>wrote:
> 
>> When serving static assets from a CouchApp (e.g. HTML and JS for a
>> Backbone.js app), a 405 Method Not Allowed error is appropriately kicked
>> when those static pages are POSTed to.
>> 
>> However, using Couch to serve a Facebook canvas app (CouchApp is served in
>> an iframe) is problematic because Facebook sends all requests as POSTs. Is
>> there any way to make Couch allow the POST method?
>> 

Reply via email to