added rewriting to http:// urls
added rewriting to http:// urls