[z3-checkins] r55557 - in z3/deliverance/sandboxes/paul/dvplone: etc var

paul at codespeak.net paul at codespeak.net
Wed Jun 4 17:37:50 CEST 2008


Author: paul
Date: Wed Jun  4 17:37:49 2008
New Revision: 55557

Modified:
   z3/deliverance/sandboxes/paul/dvplone/etc/serve.ini
   z3/deliverance/sandboxes/paul/dvplone/var/theme1.html
Log:
Use composite to serve the theme resources from a ++dv++ url and the content from the root

Modified: z3/deliverance/sandboxes/paul/dvplone/etc/serve.ini
==============================================================================
--- z3/deliverance/sandboxes/paul/dvplone/etc/serve.ini	(original)
+++ z3/deliverance/sandboxes/paul/dvplone/etc/serve.ini	Wed Jun  4 17:37:49 2008
@@ -1,7 +1,16 @@
 [server:main]
 use = egg:Paste#http
 
-[pipeline:main]
+[composite:main]
+use = egg:Paste#urlmap
+/++dv++ = dv
+/ = ploneapp
+
+[app:dv]
+use = egg:Paste#static
+document_root = %(here)s/../var
+
+[pipeline:ploneapp]
 pipeline = egg:Paste#evalerror
 	 egg:Paste#httpexceptions
 	 dvng

Modified: z3/deliverance/sandboxes/paul/dvplone/var/theme1.html
==============================================================================
--- z3/deliverance/sandboxes/paul/dvplone/var/theme1.html	(original)
+++ z3/deliverance/sandboxes/paul/dvplone/var/theme1.html	Wed Jun  4 17:37:49 2008
@@ -3,7 +3,7 @@
         <title>Theme Page Title</title>
     </head>
     <body>
-        <h1 id="pageheading">Theme Page Heading, No, No, No</h1>
+        <h1 id="pageheading">Theme Page Heading</h1>
         <div id="pagecontent">
             <p>Some sample theme content.</p>
         </div>


More information about the z3-checkins mailing list