Fix: refactor this

 * instead of two directives with php-config, have one
 * add rewrite rules to redirect to respective "routers"

cc @gusano