Re: rewrites not working

2013-11-12 Thread Alexander Gabriel
Hi Jim I had some trouble configuring my local.ini file. Setting [httpd] port = 80 doesn't work because I get a Connection refused answer when connecting with curl. The only way I got it working was: [httpd] port = 5984 bind_address = 0.0.0.0 then redirecting form 5984 to 80: iptables -t

Re: rewrites not working

2013-11-12 Thread Robert Newson
typically, only root can bind to ports under 1024 and couchdb runs, and should run, as not-root. B. On 12 November 2013 10:27, Alexander Gabriel a...@barbalex.ch wrote: Hi Jim I had some trouble configuring my local.ini file. Setting [httpd] port = 80 doesn't work because I get a

Re: rewrites not working

2013-11-12 Thread Jim Klo
Like Bob mentioned… the user that runs CouchDB needs to be a sudoer in order to bind to a port less that 1024. On Nov 12, 2013, at 2:27 AM, Alexander Gabriel a...@barbalex.ch wrote: Hi Jim I had some trouble configuring my local.ini file. Setting [httpd] port = 80 doesn't work

Re: rewrites not working

2013-11-12 Thread Alexander Gabriel
*'user that runs CouchDB needs to be a sudoer in order to bind to a port less that 1024'* I'm running CouchDb on a brand new DigitalOcean Ubuntu server. When I run commands I log in as root. I haven't even created a different user than root yet (I know this is necessary for security reasons and

rewrites not working

2013-11-10 Thread Alexander Gabriel
Hi I have a couchapp on http://arteigenschaften.ch. It's built with the original python couchapp tool. My goal: Instead of http://arteigenschaften.ch/artendb/_design/artendb/index.html; the url should look like:

Re: rewrites not working

2013-11-10 Thread Robert Newson
rewrites.json not rewrites.js On 11 November 2013 00:03, Alexander Gabriel a...@barbalex.ch wrote: Hi I have a couchapp on http://arteigenschaften.ch. It's built with the original python couchapp tool. My goal: Instead of http://arteigenschaften.ch/artendb/_design/artendb/index.html; the

Re: rewrites not working

2013-11-10 Thread Stanley Iriele
This gets me every time when I'm doing rewrites but a convenient way to look it is...its a giant json object sojson extension On Nov 10, 2013 4:22 PM, Robert Newson rnew...@apache.org wrote: rewrites.json not rewrites.js On 11 November 2013 00:03, Alexander Gabriel a...@barbalex.ch wrote:

Re: rewrites not working

2013-11-10 Thread Alexander Gabriel
lol o.k., side issue is solved: the rewrites.json file is copied as an object into the design doc. thanks a lot. Remains the fact that the url is not rewritten. Any Ideas for that? Alex 2013/11/11 Stanley Iriele siriele...@gmail.com This gets me every time when I'm doing rewrites but a

Re: rewrites not working

2013-11-10 Thread Benoit Chesneau
On Monday, November 11, 2013, Alexander Gabriel wrote: lol o.k., side issue is solved: the rewrites.json file is copied as an object into the design doc. thanks a lot. Remains the fact that the url is not rewritten. Any Ideas for that? Alex i don't understand what you are trying to

Re: rewrites not working

2013-11-10 Thread Alexander Gabriel
I call: http://arteigenschaften.ch/artendb/_design/artendb/index.html; because that is where the web-app appears. And I would want it to show as http://arteigenschaften.ch/index.htmlhttp://arteigenschaften.ch/artendb/_design/artendb/index.html

Re: rewrites not working

2013-11-10 Thread Jim Klo
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 a...@barbalex.chmailto:a...@barbalex.ch wrote: I call: http://arteigenschaften.ch/artendb/_design/artendb/index.html; because that is