title: Zend Framework HTTPS URL
body: <p>Is there any more or less standard way to specify a route that would create URL's with explicitly specified scheme?</p>
  
  <p>I've tried the solution specified <a href="http://www.zfforums.com/zend-framework-components-13/model-view-controller-mvc-21/http-https-serverurl-baseurl-4136.html" rel="noreferrer">here</a> but it's not excellent for me for several reasons:</p>
  
  <ol>
  <li>It doesn't support base url request property. Actually rewrite router ignores it when URL scheme is specified explicitly.</li>
  <li>It's needed to specify separate static route for each scheme-dependent URL (it's not possible to chain module route with hostname route because of base url is ignored).</li>
  <li>It's needed to determine HTTP_HOST manually upon router initialization in bootstrap as long as request object is not present within FrontController yet.</li>
  </ol>