Skip to content

Instantly share code, notes, and snippets.

@larsks
Created April 20, 2010 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larsks/373073 to your computer and use it in GitHub Desktop.
Save larsks/373073 to your computer and use it in GitHub Desktop.
<html>
<head>
<title>Document Title</title>
</head>
</html>
[server:main]
use = egg:Paste#http
host = 127.0.0.1
port = 5000
[composite:main]
use = egg:Paste#urlmap
/static = static
/ = default
[app:static]
use = egg:Paste#static
document_root = %(here)s/static
[pipeline:default]
pipeline = egg:Paste#cgitb
egg:Paste#httpexceptions
theme.default
ircs.proxy
[filter:theme.default]
use = egg:dv.xdvserver#xdv
theme = %(here)s/static/index.html
rules = %(here)s/static/rules/rules.xml
notheme =
/emptypage
[app:ircs.proxy]
use = egg:Paste#proxy
address = http://www.example.com/
<?xml version="1.0" encoding="UTF-8"?>
<rules xmlns="http://namespaces.plone.org/xdv"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:css="http://namespaces.plone.org/xdv+css">
<replace content="/html/head/title"
theme="/html/head/title" />
</rules>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment