fix paths for RewiteBase