title: .htaccess forcing error pages on SSL
body: <p>I have the following piece of code in my .htaccess file to force redirecting to custom error pages:</p>
  
  <pre><code>ErrorDocument 404 /ErrorPages/404.php
  ErrorDocument 403 /ErrorPages/403.php
  ErrorDocument 400 /ErrorPages/generalError.php
  ErrorDocument 401 /ErrorPages/generalError.php
  ErrorDocument 500 /ErrorPages/generalError.php
  </code></pre>
  
  <p>Everything works fine on port 80, but when it comes to SSL, the standard error pages are shown.</p>
  
  <p>To be more specific:</p>
  
  <p>http:www.mydomain.com/NoExistingPage.php redirects to the custom error page
  https:www.mydomain.com/NoExistingPage.php <strong>DOES NOT</strong> redirect to the custom error page</p>
  
  <p>am I missing something here?</p>
  
  <p>Thanks in advance</p>