Trouble with https -> http

May 7, 2009 at 10:02 PM
This rule works fine if I use http://siteX.com/IM
using this rule.
RewriteRule ^/IM/(.*)   http:/siteY.com/IM/$1 [P]
returing back to the browser
 http://siteX.com/IM/login.aspx
(stylesheet and pictures are loaded)

If I use https://siteX.com/IM with the same rule the result back to the browser is:
http://siteX.com:443/IM/login.aspx
So https is dropped and instead replaced with :443, no stylesheet and pictures is loaded. SiteY is not listing to port 443 and siteX only accepts https on port 443.

siteY is not running SSL, only siteX and only the first request seems handled.

Do I miss something in my rule? 


Geir