Yes, I choose the iptables solution and for MacOS X use : sudo ipfw add 100 fwd 127.0.0.1,8080 tcp from any to any 80 in
I work fine 2010/3/9 Alan Bell <[email protected]>: > or just use an iptables rule set by root > |iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080 > > running couchdb on 8080 as couchuser. > > IPtables should be less processing and latency than a proxy > > Alan. > > |Nils Breunese wrote: >> Jo Giraerts wrote: >> >>> Users are not permitted to start services on privileged ports (<1024). >> >> That's right. Either you'll need to start CouchDB as root or run a >> reverse proxy on port 80 that proxies to CouchDB running on a higher >> port. >> >> Some pointers on setting up a reverse proxy for CouchDB: >> >> http://wiki.apache.org/couchdb/Apache_As_a_Reverse_Proxy >> http://wiki.apache.org/couchdb/Nginx_As_a_Reverse_Proxy >> >> Nils. >> >> De informatie vervat in deze e-mail en meegezonden bijlagen is >> uitsluitend bedoeld voor gebruik door de geadresseerde en kan >> vertrouwelijke informatie bevatten. Openbaarmaking, vermenigvuldiging, >> verspreiding en/of verstrekking van deze informatie aan derden is >> voorbehouden aan geadresseerde. De VPRO staat niet in voor de juiste >> en volledige overbrenging van de inhoud van een verzonden e-mail, noch >> voor tijdige ontvangst daarvan. > > -- Hugues Dubois Développeur Web / Intégrateur de solution Open Source Tél. : +33 (0)6 22 03 68 92
