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.

/userid /~userid for secure https

Discussion in 'General Discussion' started by jdawes, Dec 31, 2003.

  1. jdawes

    jdawes Well-Known Member

    Joined:
    Aug 7, 2003
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Australia
    I would like to offer shared ssl for my server. I propose to setup eg.

    https://secure.server.com

    it would have a secure certificate installed.

    If someone wanted to use the ssl on their domain they could then browse to

    https://secure.server.com/~userid

    That is as I currently understand it to work.
    Is it possible to create an alias for the /~userid of just /userid?

    The difference is entirely asthetic i know but if someone should prefer it that way how would i do that? The redirection tool in cpanel only lets me create http:// redirects and i havent figured a way to use zone file edits to accomplish this. Perhaps a manual edit of the http.conf file is required?

    Suggestions welcome, how do other people use and setup shared ssl for their servers?
     
  2. GOT

    GOT Get Proactive!

    Joined:
    Apr 8, 2003
    Messages:
    900
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Norfolk, VA
    cPanel Access Level:
    DataCenter Provider
    Theoretically, you could create a symbolic link in /home/admin that points to the users actual directory.
     
  3. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Actually a symbolic link will do the trick if set up properly.

    For an example, go to my main celebrity website securely by going to
    https://secure.premierwebsitesolutions.com/gc/

    What I did was create a symlink called gc in the "secure" directory of my hosting site to link to the "public_html" directory for my celeb site.

    cd /home/premierusername/public_html/secure
    ln -s /home/celebusername/public_html/ gc


    That's all. Using the appropriate usernames of course. The gc can be whatever you want to use. It doesn't have to be their username. Whatever you choose is what will be tacked onto the end of your secure URL to direct to their site.
     
  4. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    The example is only temporary. I'm not going to leave the symlink permanently. Maybe a couple days.
     

Share This Page