HTTPS Problem

Jul 8, 2009 at 1:26 AM
Edited Jul 8, 2009 at 1:30 AM


A similar question was raised previously:

When using HTTPS urls, such as:


the URL is rewritten as:


It seems the HTTPS is dropped and replaced with HTTP and port :443. This becomes a problem when the site does not support HTTP requests on port 443.

[internalsite] is not running SSL, only [externalsite]. The first request seems handled ok until I login to [internalsite] and are redirected to other pages.

RewriteBase /Portal
RewriteCond %{HTTPS} =off
RewriteCond %{HTTP_HOST} (.+)
RewriteRule ^(.*)$ https://%2/Portal$1 [R=301,L]
RewriteRule ^(.*)$ http://internalsite/Portal$1 [P,L]


Jul 8, 2009 at 11:52 AM

You know it just occurred to me what the issue might be with that.  Apparently the Uri Builder isn't intelligent enough to change the scheme when the port is set to HTTPS.  I am going to move this to a bug.

Jul 8, 2009 at 11:53 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Jul 8, 2009 at 1:49 PM
Edited Jul 8, 2009 at 1:49 PM

Try this latest test release in this work item