Am 19.11.2010 17:06, schrieb Timothy Wood:
Oops!
I just noticed that on my first two tries, one of the keys in the rewrite was "from:"
instead of "from". Fixing that and using a rewrites.js of:
[
{
"from": "",
"to": "index.html",
"method": "GET"
}
]
still doesn't work (with or without the extra 'method' key), sadly.
I think you have to use:[
{
"from": "/",
"to": "index.html",
"method": "GET"
}
]
since rewrites are relativ to ".../_rewrites" and not ".../_rewrites/"
There is an example in the "What's New in CouchDB 0.11 & 1.0" webcast
http://www.youtube.com/watch?v=4jtBQf41Ppc#t=11m30s
regards,
Stefan