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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -