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.

SSL

Discussion in 'General Discussion' started by Nico, May 1, 2002.

  1. Nico

    Nico Well-Known Member

    Joined:
    Dec 5, 2001
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Edmond, OK
    We are having a strange problem with a shared SSL certificate on CPanel. https://servername.com is working but https://servername.com/~username causes a 404 error. Any suggestions on what may be causing this?

    Thanks in advance.
     
  2. bert

    bert Well-Known Member

    Joined:
    Aug 21, 2001
    Messages:
    602
    Likes Received:
    0
    Trophy Points:
    16
    This might sound kind of simple or perhaps stupid, but have you tried with a trailing slash &/& :

    https://servername.com/~username/
     
  3. bert

    bert Well-Known Member

    Joined:
    Aug 21, 2001
    Messages:
    602
    Likes Received:
    0
    Trophy Points:
    16
    If that does not work, then make sure you have &UserDir public_html& in the &IfDefine& section of your httpd.conf file as shown:

    &IfDefine SSL&
    &VirtualHost IP.HERE:443&
    DocumentRoot /usr/local/apache/htdocs
    BytesLog domlogs/serverx.domain.com-bytes_log
    ServerName serverx.domain.com

    CustomLog /usr/local/apache/domlogs/serverx.domain.com-ssl_log &%t %{version}c %{cipher}c %{clientcert}c&

    SSLVerifyClient none
    SSLEnable

    SSLCertificateFile /usr/share/ssl/certs/serverx.domain.com.crt
    SSLCertificateKeyFile /usr/share/ssl/private/serverx.domain.com.key
    SSLLogFile /var/log/serverx.domain.com
    UserDir public_html

    &/VirtualHost&
    &/IfDefine&
     
  4. Nico

    Nico Well-Known Member

    Joined:
    Dec 5, 2001
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Edmond, OK
    [quote:90162eeede][i:90162eeede]Originally posted by bert[/i:90162eeede]

    This might sound kind of simple or perhaps stupid, but have you tried with a trailing slash &/& :

    https://servername.com/~username/[/quote:90162eeede]

    DOH! how did I miss that??

    Thanks :)
     
Loading...

Share This Page