Updated HttpModule to support Portal with versions.