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.

Removing Force SSL Redirect /cpanel or /whm

Discussion in 'Security' started by zontrakulla, Jun 11, 2013.

  1. zontrakulla

    zontrakulla Active Member

    Joined:
    Jan 16, 2008
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Hello,
    Whenever i want to use domain.com/cpanel it redirects me to the ssl page, 2083 port. How i can disable it?

    httpd conf
    Code:
    ScriptAliasMatch ^/?cpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAliasMatch ^/?whm/?$ /usr/local/cpanel/cgi-sys/whmredirect.cgi
    
    Tweak Settings:

    Always redirect to SSL = OFF
    Non-SSL redirect destination = Origin Domain Name
    SSL redirect destination = SSL Certificate Name
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can disable the following option under the "Security" tab in "WHM Home » Server Configuration » Tweak Settings":

    "Require SSL"

    Thank you.
     
  3. zontrakulla

    zontrakulla Active Member

    Joined:
    Jan 16, 2008
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Have you tried restarting the cPanel service? You can restart it via:

    Code:
    # service cpanel restart
    Do you experience the same problem with WHM? Are you using a custom cPanel theme?

    Thank you.
     
  5. zontrakulla

    zontrakulla Active Member

    Joined:
    Jan 16, 2008
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Yes, i just restarted cpanel services. Still same. I don't have a ssl cert and cpanel forcing them to use ssl ports. only /cpanel redirecting to ssl. /whm is okay.

    Should i submit a ticket?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  7. zontrakulla

    zontrakulla Active Member

    Joined:
    Jan 16, 2008
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    I don't know what i did, but it seems it is fixed now. both domain.com/cpanel and subdomain.domain.com/cpanel is redirecting to port 2082 instead of 2083.

    If it happens again i'll submit a ticket then.

    thanks for your help
     
  8. amirnasir0

    amirnasir0 Registered

    Joined:
    Jan 13, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello, I am also facing the same problem. Did the tweaks but i think it is not working.
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Have you tried restarting cPanel and clearing your browser cache? If so, please open a support ticket using the instructions from my previous post to this thread. Let us know the ticket number so we can update this thread with the outcome.

    Thank you.
     
  10. ecommercesussex

    Joined:
    Sep 19, 2013
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Any way of disabling SSL requirements on a per account basis, even if it's bash hack, I have 1x customer I need to allow none ssl for.
     
  11. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you elaborate on which specific requirements you are referring to?

    Thanks.
     
Loading...

Share This Page