On 4 November 2012 02:44, john.tiger <john.tigernas...@gmail.com> wrote:
> a few questions so far:
> 1) where does "cors_enable=true get set  - tried to do sudo ./configure
> --cors_enable....  that didn't work

Thanks for giving this a whirl! I suspect you may be the first pilot
user so really appreciate all those "Y U NO WORK" questions. Keep'em
coming please!!

http://wiki.apache.org/couchdb/CORS#Enabling_CORS

Your local.ini file will be something like
/usr/local/etc/couchdb/local.ini depending on OS & how you installed
couchdb. It's the same file you'll have set bind_address = 0.0.0.0 or
similar in. Here's mine:

[httpd]
;port = 5984
;bind_address = 127.0.0.1
bind_address = 0.0.0.0
enable_cors = true

I think that's all you're going to need.

> 2) ini file ?  is that a windows thing ?  - also would be helpful to have an
> example of that

See wiki url above, let me know if that's sufficient.

> 3) using autoconf gave the following:

Aargh. Yuck. autoconf fun.

I'm guessing you need a new auto* version. Not sure how you'd need to
upgrade, reply back with your OS/platform and hopefully somebody can
help you from here.

> configure.ac:22: error: possibly undefined macro: AM_CONFIG_HEADER

A+
Dave

Reply via email to