I am looking for the right way for loading new UUIDs or accessing the _session object in a couchapp behind a vhost.
I have written a couchapp and everything workes well with the normal but ugly urls. So if i use http://example.cloudant.com/mydb/_design/myapp/index.html as address everything works as expected. If I use www.mycouchapp.com (mycouchapp.com CNAME -> example.cloudant.com/mydb/_design/myapp/_rewrite
).
I cannot access any ressource in the top level of couchdb like _session, _stats, or _uuid
Because of the security limitations I cannot make a rewrite-rule like "from":"_session", "to": "../../../_session"
because more than "../../"
are not allowed.
Is there a way or workaround for this problem?