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.

Change the "Always redirect users to the ssl/tls ports" from Ssh

Discussion in 'General Discussion' started by equens, Mar 31, 2007.

  1. equens

    equens Well-Known Member

    Joined:
    Feb 8, 2002
    Messages:
    270
    Likes Received:
    0
    Trophy Points:
    16
    Hello, how can I change the "Always redirect users to the ssl/tls ports when visiting /cpanel, /webmail, etc." option from Ssh? Thanks.

    (edited)
    Sorry, the option that I need to modify is "When visiting /cpanel or /whm or /webmail with ssl redirect to the servers hostname.".
    Thanks
     
    #1 equens, Mar 31, 2007
    Last edited: Mar 31, 2007
  2. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    nano /var/cpanel/cpanel.config

    change
    alwaysredirecttossl=1

    to

    alwaysredirecttossl=0

    For hostname, its the same file

    cpredirecthostname=1
    to
    cpredirecthostname=0
     
  3. equens

    equens Well-Known Member

    Joined:
    Feb 8, 2002
    Messages:
    270
    Likes Received:
    0
    Trophy Points:
    16
    Thanks a lot jayh38!!! :)
     
Loading...

Share This Page