Revert "added rewrite feature to vhost"

This reverts commit 64d26fd5d1835b9cb0f32ed99b7f0904e754d0cb.