couchdb - Getting UUIDs in a CouchApp with active vhost -
i looking right way loading new uuids or accessing _session object in couchapp behind vhost.
i have written couchapp , workes normal ugly urls. if use http://example.cloudant.com/mydb/_design/myapp/index.html address works expected. if use www.mycouchapp.com (mycouchapp.com cname -> example.cloudant.com/mydb/_design/myapp/_rewrite
). cannot access ressource in top level of couchdb _session, _stats, or _uuid
because of security limitations cannot make rewrite-rule "from":"_session", "to": "../../../_session"
because more "../../"
not allowed.
is there way or workaround problem?
you should use couchdb's url rewriting , vhost possibilities:
http://blog.couchone.com/post/443028592/whats-new-in-apache-couchdb-0-11-part-one-nice-urls
hth
cheers
andy
Comments
Post a Comment