Changes between Version 12 and Version 13 of TwistedWeb
- Timestamp:
- 08/12/2011 02:37:57 PM (22 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TwistedWeb
v12 v13 20 20 twistd web --wsgi my.application.name --port 8080 21 21 }}} 22 Because Twisted Web is also a Python library with a documented API, you can alsoconfigure 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 a virtual host configuration serving static content for each domain out of the directory matching its name:22 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 a virtual host configuration serving static content for each domain out of the directory matching its name: 23 23 {{{ 24 24 #!py … … 45 45 See the [wiki:Downloads] page. 46 46 47 Twisted Web is available under [ http://twistedmatrix.com/trac/export/32445/trunk/LICENSE the MIT Free Software licence].47 Twisted Web is available under [source:trunk/LICENSE the MIT Free Software licence]. 48 48 49 49 = Documentation = 50 50 51 [http://twistedmatrix.com/ projects/web/documentation/Documentation] is available for Twisted Web. An [http://twistedmatrix.com/documents/current/api/ API reference] of Twisted and all subprojects is also available.51 [http://twistedmatrix.com/documents/current/web Documentation] is available for Twisted Web. An [http://twistedmatrix.com/documents/current/api/ API reference] of Twisted and all subprojects is also available. 52 52 53 53 = Contact =
