Simplify config for apache and pyramid app, fix for #255