
21 Feb
2004
21 Feb
'04
3:14 p.m.
That way you can have some part of the site still served by apache if you need. This example serve all page through twisted.
<VirtualHost *:80> # This virtual host is simply a proxy of the twisted-matrix # woven based site running on local port 8080
ServerName www.exa-networks.co.uk
RewriteEngine On RewriteRule ^(.+)$ http://127.0.0.1:8080$1 [P] ProxyVia Block
# Maintain logging as twistd only sees local proxy requests CustomLog logs/exasite-access.log combined ErrorLog logs/exasite-error.log </VirtualHost>
Thomas
7162
Age (days ago)
7162
Last active (days ago)
0 comments
1 participants
participants (1)
-
Thomas Mangin