Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static = Dir(base='html/', index_file='index.html',
- default_ctype='text/plain')
- python = Handler(send_spec='tcp://127.0.0.1:9996',
- recv_spec='tcp://127.0.0.1:9997',
- send_ident='82209006-86FF-4982-B5EA-D1E29E55D481',
- recv_ident='')
- main = Server(
- uuid="f400bf85-4538-4f7a-8908-67e313d515c2",
- access_log="/run/access.log",
- error_log="/run/error.log",
- chroot="./",
- default_host="localhost",
- name="test",
- pid_file="/run/mongrel2.pid",
- port=6767,
- hosts = [
- Host(name="localhost", routes={
- '/html': static,
- '/piper': python
- })
- ]
- )
- servers = [main]
Add Comment
Please, Sign In to add comment