Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
--- apache.conf-20100226 2009-07-24 16:02:40.000000000 +0000 +++ apache.conf 2010-02-27 00:21:42.000000000 +0000 @@ -16,4 +16,10 @@ RedirectMatch ^[/]$ https://dev.plone.org + # support for cookie-based themes + RewriteRule ^/trac-theme /plone [CO=theme:trac:%{HTTP_HOST},R,L] + RewriteRule ^/plone-theme /plone [CO=theme:plone:%{HTTP_HOST},R,L] + RewriteCond %{HTTP_COOKIE} theme=trac + RewriteRule ^/(.*) /trac/$1 [PT] + # XXX This stuff used to be in /home/lrowe/new/static Alias /plone.css /srv/dev.plone.org/static/plone.css @@ -39,4 +45,12 @@ </LocationMatch> + <LocationMatch "^/trac/(archetypes|collective|marketing|plone|plone.net|plone.org)"> + SetEnv PYTHON_EGG_CACHE /srv/dev.plone.org/egg-cache + SetHandler mod_python + PythonHandler trac.web.modpython_frontend + PythonOption TracEnvParentDir /srv/dev.plone.org/trac + PythonOption TracUriRoot / + </LocationMatch> + <LocationMatch "^/old/(archetypes|collective|marketing|plone|plone.net|plone.org)"> SetEnv PYTHON_EGG_CACHE /srv/dev.plone.org/egg-cache @@ -72,4 +86,11 @@ ErrorLog /var/log/apache2/dev.plone.org/error.log + # support for cookie-based themes + RewriteEngine On + RewriteRule ^/trac-theme /plone [CO=theme:trac:%{HTTP_HOST},R,L] + RewriteRule ^/plone-theme /plone [CO=theme:plone:%{HTTP_HOST},R,L] + RewriteCond %{HTTP_COOKIE} theme=trac + RewriteRule ^/(.*) /trac/$1 [PT] + <Location /> SetEnv PYTHON_EGG_CACHE /srv/dev.plone.org/egg-cache
This paste will be private.
From the Design Piracy series on my blog: