moved rewrite rules to virtual hosts
also added rules for SSL
Merge pull request #74 from wick-ed/master

moved rewrite rules to virtual hosts