Clean up SSL url

Hi there,

I’m using a shared SSL certificate for a site. When accessing the site via SSL, I have to use the url:
https://xxxx-secure-secure.co.uk/example.co.uk/secure-page.php?some_get_info=fdnku247981

Which looks a bit messy. I’d like to use mod_rewrite to clean it up so it looks like:
https://www.example.co.uk/secure-page.php?some_get_info=fdnku247981

Not really sure a) how to do this. I’m thinking I need a conditional that will flag when HTTPS is on; b) whether is this actually good practice, or whether the browser will show an error, which would render the site untrustworthy to the user.

Many thanks in advance,
Mike

micky,

Sorry, you cannot display one DOMAIN while serving from another (unless you’re using frames and that would trigger a security warning).

If you want to get rid of the xxxx-secure-secure.co.uk domain, spend the money for your own secure server cert (and dedicated IP address) - installation is trivial.

Regards,

DK