Skip to content

Instantly share code, notes, and snippets.

@willread
Created October 11, 2012 21:16
Show Gist options
  • Save willread/3875540 to your computer and use it in GitHub Desktop.
Save willread/3875540 to your computer and use it in GitHub Desktop.
Remotely add a vhost to a couchdb instance
curl -XPUT -HContent-Type:application/json https://user:password@host.com/_config/vhosts/subdomain.host.com -d '"/database/_design/app/_rewrite"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment