Apache proxy for web app with ssl

I have a ubuntu server running subsonic as a web app. Currently the web interface is available from port 4040 for https connections and 4141 for https connections with the context /subsonic as follows:
http://mydomain:4040/subsonic
https://mydomain:4141/subsonic

I would like to loose the port number from the url and force all connections via ssl on port 443. I already have an active ssl connection using apache for my zarafa webaccess by following this guide: http://www.zarafa.com/wiki/index.php/Securing\_Zarafa\_WebAccess\_with_SSL
But I am struggling to get the same to work for the subsonic web app, I think I need to use apaches proxy function??

Any help would be great!!
Thanks