old blog,

[HOWTO] Using Diazo as a standalone server.

Izhar Firdaus Izhar Firdaus Follow Support Nov 28, 2011 · 1 min read
[HOWTO] Using Diazo as a standalone server.
Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.
Just a little quick note.

Diazo, the super cool theming system used by Plone, have 2 WSGI middlewares which will turn it into some sort of theming proxy for any existing sites. However, that feature and the steps to use it is not quite documented anywhere.

Then I saw dv.xdvserver in PyPi. Using the sample paster config file from there, here is a little guide on how to use it.


I have uploaded my buildout to github kagesenshi/diazoserver. To deploy, just follow these steps:

got clone git://github.com/kagesenshi/diazoserver.git
cd diazoserver
python2.6 bootstrap.py
./bin/buildout -vv

The steps above will pull and install diazo and its dependencies into the buildout.


Copy diazo.ini-sample as diazo.ini. Change the address http://www.example.com/ to address of your app. Take note that the Paster proxy might not work if the backend site is compressed.

Edit the static/rules.xml file and static/index.html file as you wish. For full documentation on how to utilize them, visit the diazo documentation

Starting up the server

Just run this command to start the server:

./bin/paster server diazo.ini

Thats it, Happy hacking~!

Written by Izhar Firdaus Follow Support
I'm a system architect, data engineer and developer advocate with passion in Free / Open Source software, entrepreneurship, community building, education and martial art. I take enjoyment in bridging and bringing together different FOSS technologies to help businesses and organizations utilize IT infrastructure to aid and optimize their business and organizational process.

diazotheme.bootstrap : Twitter Bootstrap based Diazo theme for Plone4.1+

I was introduced to twitter's bootstrap css toolkit quite a while ago, and loving it.Naturally, I want to use this in Plone, so I wen...

In old blog, Nov 27, 2011

« Previous Post

Obviel.js: Object, View, Element Javascript lib

I just saw the posts by Martijn Faassen related to Obviel, I was quite busy this past month that I did not notice them, and due to my...

In old blog, Nov 28, 2011

Next Post »