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
(stylesheet and pictures are loaded)
If I use https://siteX.com/IM with the same rule the result back to the browser is:
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?