pred.cfg
[global]
base_url_filter.on = False
base_url_filter.use_x_forwarded_host = True
server.socket_host = "0.0.0.0"
server.socket_port = 8080
server.thread_pool = 1
...
Apache conf:
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName bla.bla.bla
ServerSignature Off
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
ProxyPreserveHost On
ProxyRequests Off
ProxyVia Off
#ErrorLog /var/log/apache2/error.log
#LogLevel warn
#CustomLog /var/log/apache2/access.log combined
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://127.0.0.1:8080/
</VirtualHost>
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.