added some apache confs - rewrite, redirect, environment vars