add rewrite rules based on webserver_sampleconfigs/
simplify
fix rewrite
disable access to config dir from web