SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Oct 2009
    Location
    London, UK
    Posts
    382
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Question 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/exa...fo=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-pag...fo=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

  2. #2
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,679
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    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
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •