couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "CORS" by DaveCottlehuber
Date Sun, 04 Nov 2012 12:36:42 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "CORS" page has been changed by DaveCottlehuber:
http://wiki.apache.org/couchdb/CORS?action=diff&rev1=1&rev2=2

  
  To enable CORS support, you need to set the option {{{enable_cors = true}}} in the {{{httpd}}}
section of {{{local.ini}}}. Note that by default, all origins will be accepted.
  
+ {{{
+ [httpd]
+ ;port = 5984
+ ;bind_address = 127.0.0.1
+ enable_cors = true
+ }}}
+ 
  == Tightening Access ==
  
  To configure defaults cors settings you need to create the [cors] section in the local.ini
file:
@@ -54, +61 @@

  ; methods =
  }}}
  
- To set the options for a vhosts you will need to create a section with the vhost name prefixed
by "cors:" . Ex for the vhost example.com:
+ To set the options for a vhost, you will need to create a section with the vhost name prefixed
by "cors:" . Ex for the vhost example.com:
  
  
  {{{

Mime
View raw message