Setting up server environment for twisted application

Viatcheslav Gachkaylo <[email protected]>
Newsgroups gmane.comp.python.twisted.web
Message-ID <CADUmcBOmszXd78XsmHgbNvc6Dn_JQypW_RtB1H8ehrRbENO2mw@mail.gmail.com>
Hello.

Can you tell me what are the best practices for setting up a twistd
daemon in a linux (centos) environment on a server. The server should
be always uptime and relaunch on fatal error. I am sure there is a
common procedure for this.

Also I'm interested in providing secure access to twisted application
services. I set up twisted in a python virtualenv and my application
is running under user 'nobody'. What else could be done? What about
permissions of the python script files and static server resources?

 Also, is it a good idea to listen (HTTP and HTTPS) on ports 8081 and
8083 and set up apache to redirect port 80 and port 443 on a subdomain
to the appropriate twistd daemon ports?

Thank you,
Viatcheslav Gachkaylo
Crystalnix
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.