Hi Noah,

On 5 Jul 2009, at 16:43, Noah Slater wrote:
On Sun, Jul 05, 2009 at 10:25:50AM +0100, Jason Davies wrote:
[couch_httpd_rewrite]
{"jason.mydomain.com", 80, "/"} = {"mydb", "rootapp"}
{"jason.mydomain.com", 80, "/blog"} = {"mydb", "blogapp"}

Looks good to me!

I think people will probably want some kind of wildcard matching too though.

What's the use case?

I was thinking of something like mapping <username>.mydomain.com to database <username>. Could be useful in a situation where each user has their own database. We can always add something like this if the need arises though.

Cheers,
--
Jason Davies

www.jasondavies.com

Reply via email to