The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

redirecting a secure link?

Discussion in 'General Discussion' started by dory36, Apr 17, 2004.

  1. dory36

    dory36 Well-Known Member

    Joined:
    Aug 30, 2003
    Messages:
    179
    Likes Received:
    0
    Trophy Points:
    16
    I have a gazillion Flash tutorials that all end with a link to our old helpdesk. The link is to https://support.mydomain.com.

    When we changed servers, we put up a new help desk, and dropped the "support" subdomain.

    I forgot about the links in the tutorials. :eek:

    I have a secure certificate for the new helpdesk, and users can get there with or without the https://, no problem.

    I have set up a redirection for support.mydomain.com to go to the new helpdesk, and it works when the user manually types the URL with http:// instead of http://. But it gets a page cannot be displayed error when the user types the https://, or when he tries from the link in the tutorial.

    So it redirects http://support.mydomain.com to http://mydomain.com/helpdesk with no problem.

    https://mydomain.com/helpdesk is also a working address.

    Any way to redirect https://support.mydomain.com to https://mydomain.com/helpdesk, or do I need to get new tutorials (or a new cert)?

    Thanks - Bill
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You might get away using mod_rewrite in the SSL VirtualHost in Apache, but I've never tried it in a secure site. Finding an example of trapping support.mydomain.com and rewriting it to mydomain.com would be easy enough if allowed.

    The main issue is that anything outside of the main Apache configuration file (e.g. a .htaccess file) will likely throw up an invalid certificate, or not work at all due to the nature of the encrypted exhcange between the users browser and Apache.

    I would have though it would be best to go for the cheapest of the two options: modify the flash files or get a cheap certificate for support.mydomain.com
     
Loading...

Share This Page