incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From whims...@aol.com
Subject Re: reverse proxy discouraged?
Date Fri, 20 Aug 2010 01:12:29 GMT
I'm trying to send commands from html in my apache folder on localhost
to 
localhost:5984 which violates the cross domain policy.

Can rewrites or virtual hosts be used to get around that problem?

Thanks 

Dan


 

 


 

 

-----Original Message-----
From: Tyler Gillies <tjgillies@gmail.com>
To: user@couchdb.apache.org
Sent: Thu, Aug 19, 2010 4:05 pm
Subject: Re: reverse proxy discouraged?


with reverse proxy you aren't "serving" from apache you're just redirecting

them to couchdb.



couch supports rewrites if you don't want to reverse proxy:

http://blog.couch.io/post/443028592/whats-new-in-apache-couchdb-0-11-part-one-nice-urls



On Thu, Aug 19, 2010 at 3:41 PM, <whimsica@aol.com> wrote:



> Is using a reverse proxy to serve up html and couchdb from the same domain

> and port problematic?

> Someone told me that it is highly discouraged

>

> and that html pages should be served from couchdb.

> But on a site that is web 2.0 and has a complicated GUI there would need to

> be 100's of attachments that would be necessary to correctly

> serve up a page as an attachment to a document.

>

> This sounds unreasonable for development where 100's of changes are made

> per day.

>

> The reverse proxy method seems feasible but why would it be discouraged?

>

> Thanks,

>

> Dan

>

>

>

>

>

>

>

>





-- 

PdxBrain <http://www.pdxbrain.com> - My Home


 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message