Re: [racket] Running a webserver on port 80

2011-12-09 Thread Jordan Schatz
I've decided to use iptables, and just not worry about IPv6 until iptables fully supports it (I think that is actually coming pretty soon). Perhaps a note about using iptables would be a good addition to: http://docs.racket-lang.org/web-server-internal/Troubleshooting_and_Tips.html or http://docs

Re: [racket] Running a webserver on port 80

2011-12-09 Thread Neil Van Dyke
Jay McCarthy wrote at 12/09/2011 08:38 PM: On Fri, Dec 9, 2011 at 5:36 PM, Jordan Schatz > wrote: What is considered the best way to run a web server as non-root and accept connections on port 80? [...] I don't like to start it as root at all. I prefer to

Re: [racket] Running a webserver on port 80

2011-12-09 Thread Jay McCarthy
On Fri, Dec 9, 2011 at 5:36 PM, Jordan Schatz wrote: > What is considered the best way to run a web server as non-root and > accept connections on port 80? > > I believe Apache handles it by being started as root, binding to the > port, and then dropping privileges. I don't think that the racket

Re: [racket] Running a webserver on port 80

2011-12-09 Thread Greg Hendershott
> Stack Overflow Stack Exchange. As I said, "same difference". :) On Fri, Dec 9, 2011 at 8:04 PM, Greg Hendershott wrote: > Although it's for port 25 not 80, I think same difference -- this > Stack Overflow Q&A might be helpful: > > http://serverfault.com/questions/265971/change-port-to-which-l

Re: [racket] Running a webserver on port 80

2011-12-09 Thread Greg Hendershott
Although it's for port 25 not 80, I think same difference -- this Stack Overflow Q&A might be helpful: http://serverfault.com/questions/265971/change-port-to-which-local-mail-is-delivered On Fri, Dec 9, 2011 at 7:36 PM, Jordan Schatz wrote: > What is considered the best way to run a web server a

[racket] Running a webserver on port 80

2011-12-09 Thread Jordan Schatz
What is considered the best way to run a web server as non-root and accept connections on port 80? I believe Apache handles it by being started as root, binding to the port, and then dropping privileges. I don't think that the racket web server knows to drop any privileges? I'm guessing that comm