Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Wildcare SSL w/Apache

Discussion in 'EasyApache' started by Helix26404, Apr 9, 2008.

  1. Helix26404

    Helix26404 Member

    Joined:
    Mar 8, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    151
    I just purchased a Wildcard SSL certificate through Trustwave (using WHM). It is installed and works correctly, but I need to change the Apache config to prevent the certificate from being used in certain cases.

    For instance, click on the following:

    http://etude1.youthcue.org/
    http://www.youthcue.org/

    Apache directs these requests properly using name-based virtual hosting. Problem is that if you go secure:

    https://etude1.youthcue.org/
    https://www.youthcue.org/

    Both go to www.youthcue.org. In fact, ANY subdomain is re-directed to the main www.youthcue.org. How can I prevent this?

    Thanks!
     
  2. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    7
    Trophy Points:
    318
    Location:
    back woods of NC, USA
    I see a <meta http-equiv="Refresh" content="1; url=index.php"> in your main page. That's a client side redirect not apache
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Helix26404

    Helix26404 Member

    Joined:
    Mar 8, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    151
    Thanks for taking a look. The refresh is supposed to be there--it's a splash screen.

    The main website should NOT appear when using any subdomain, as it does when using SSL. Again:

    http://etude1.youthcue.org
    https://etude1.youthcue.org

    See the difference? Both should look like the non-SSL version.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice