incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Klo <>
Subject Re: rewrites not working
Date Mon, 11 Nov 2013 05:48:12 GMT
Couple of issues I see, answered inline below.

Jim Klo
Senior Software Engineer
SRI International
t: @nsomnac

On Nov 10, 2013, at 8:38 PM, "Alexander Gabriel" <<>>

I call:
"" because
that is where the web-app appears. And I would want it to show as "<>

Is your VHOST mapping right?

I saw you had:<>:5984=/db name/_design/docname/_rewrite

If you want it to answer on port 80, I think you either need to omit the port or specify 80<>=/db name/_design/docname/_rewrite

You should be able to test your rewrites by just going to:

It that works, then your problem is with your VHOST config (or reverse proxy depending upon
how things are configured in your environment). If you're doing this remotely and can't access
couch directly, I recommend doing a ssh port forward so you can test the redirect without
VHOST mucking things up.

- JK

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message