configured url rewriting to work out of the box when using install.sh