[z3-checkins] r54606 - z3/deliverance/DeliveranceVHoster/trunk

magicbronson at codespeak.net magicbronson at codespeak.net
Fri May 9 19:22:12 CEST 2008


Author: magicbronson
Date: Fri May  9 19:22:12 2008
New Revision: 54606

Modified:
   z3/deliverance/DeliveranceVHoster/trunk/fassembler_config.ini_tmpl
Log:
default_theme_uri should default to "/theme.html", not "http://localhost:XXXX/theme.html".
"/" points to the top of the deliverance stack (which is configured in dvhoster to point to Zope), but deliverance will now rewrite relative links in theme.html correctly based on the host the client requested, so this gets us what we want.
Also, deliverance will now make this request inside wsgimiddleware rather than having to open a socket.

Modified: z3/deliverance/DeliveranceVHoster/trunk/fassembler_config.ini_tmpl
==============================================================================
--- z3/deliverance/DeliveranceVHoster/trunk/fassembler_config.ini_tmpl	(original)
+++ z3/deliverance/DeliveranceVHoster/trunk/fassembler_config.ini_tmpl	Fri May  9 19:22:12 2008
@@ -75,6 +75,6 @@
 # assumes deliverance is the outermost server in your stack so the
 # theme can be requested from deliverance itself.
 # This is at least better than the old fallback of hitting openplans.org.
-default_theme_uri = {{project.req_settings.get('default_theme_uri', 'http://localhost:%d/theme.html' % env.base_port)}}
+default_theme_uri = {{project.req_settings.get('default_theme_uri', '/theme.html')}}
 
 topp_secret_filename = {{env.config.get('general', 'topp_secret_filename')}}


More information about the z3-checkins mailing list