Message2629
I want to run the stand-alone roundup-server on port 80.
The reason is that I want to have a simple URL without
a :8080 suffix, but also want to avoid the extra work of
port forwarding, cgi installation, URL rewriting etc.
With the current 0.5.9 roundup-server this is not possible,
because even if started as root it drops this privilige
before opening the port. Attached is a patch that changes
that by opening the port first, then dropping the
privilige.
It also adds a command line switch to change
the group id.
The only caveat I see is that it might not be guaranteed
that
httpd = BaseHTTPServer.HTTPServer(address,
RoundupRequestHandler)
opens the port at that time - in practice (python 2.2.1)
it does, so the patch works for me.
Perhaps this patch could be included in the 0.6 branch?
|
|
Date |
User |
Action |
Args |
2009-02-03 14:22:52 | admin | link | issue777528 messages |
2009-02-03 14:22:52 | admin | create | |
|