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

#255 
There were other paths to fix as well. This PR fixes that.