Twisted Web is: - an HTTP server, that can be used as a library
or run as a stand-alone server - an HTML templating engine - an
HTTP client library Twisted Web supports numerous standards; for
example, it can serve as a WSGI and CGI container, or an XMLRPC
server. It can also serve static content. Twisted Web provides
built-in support for name-based virtual hosts, reverse proxying,
XML parsing, and more. Twisted Web is a very simple to set up
stand-alone server. For example, to run a server that serves
static content out of the current directory, you can just run
this short command line: twistd web --path . --port 8080 To run
a WSGI application, it's just as simple: twistd web --wsgi
my.application.name --port 8080 Because Twisted Web is also a
Python library with a documented API, you can configure your
server entirely using Python. For example, let's say you have a
bunch of directories with names corresponding to each domain you
want to serve from your web server. Here's the configuration
file which creates