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.

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:
    1
    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:
    5
    Trophy Points:
    38
    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
     
  3. Helix26404

    Helix26404 Member

    Joined:
    Mar 8, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    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