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.

Problem loading the branding editor

Discussion in 'General Discussion' started by Panzerknacker, Apr 13, 2011.

  1. Panzerknacker

    Panzerknacker Registered

    Joined:
    Apr 13, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hello, I am in need of some help, I am new to having a VPS, so please bear with me.

    From WHM, I am trying to access the branding editor using whm.marchal-mathieu.ca

    When I do that, I get redirected to the following url when I click on the live editor: /http://cpanel.marchal-mathieu.ca/cpsess4740378227/login/?session=cpanel9q_tHt8WXxpng8iF1yIGhXiDIBdltGCw7uTmdW7UIebb2EnhbRgtF8KPKOgj

    this url generates not the branding editor, but a 404 not found.

    This is the url I get redirected to, when I access WHM by IP and this works fine:
    /http://204.93.178.36:2082/cpsess45984738/frontend/x3/resellers/branding/index.html

    So the following url, does work after manually adding port:
    /http://cpanel.marchal-mathieu.ca:2082/cpsess1213422642/frontend/x3/resellers/branding/index.html?post_login=1636345203473

    I added an A record to my domains DNS zone, so cpanel.marchal-mathieu will resolve, but that doesn't work, because the port (2082) doesn't get added to the url on redirection when I click on live editor, like when I access the branding editor by IP.

    Any tips on how to get redirected properly in WHM from my domain would be very much appreciated.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,475
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Do you mean the branding editor for cPanel? If yes, you don't access this from WHM, you access if from cPanel on a reseller account.

    So, you'd log into the reseller account, and click the icon for the Branding Editor.
    You're not setup it sounds like to be redirected on login to stay on a secure port. (you can change your redirection settings in WHM > Tweak Settings > Redirection tab)


    When I access the Branding Editor as reseller in cPanel (not WHM) the URL is:
    /https://server.mydomain.com:2083/frontend/x3/resellers/branding/index.html
     
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    This scenario:

    Has been reported in a recent ticket where using whm.domain.com returns a 404 error in a browser for some areas of WHM. In that recent ticket, the issue was due to mod_security blocking the proxy request, since whm.domain.com and cpanel.domain.com are proxying ports to port 80.

    Can you try shutting off mod_security temporarily to see the results? You can also check the logs for mod_security or Apache at /usr/local/apache/logs/ locations when getting the 404 error to see what is being output.

    The set error that happened in the ticket was similar to the following as reference (and this error was showing up in /usr/local/apache/logs/error_log location):

     
  4. mikegotroot

    mikegotroot Well-Known Member

    Joined:
    Apr 29, 2008
    Messages:
    85
    Likes Received:
    1
    Trophy Points:
    8
    That just means you need to create those directories. Modsecurity tracks some stateful information in DBM files in those directories, make sure you follow the installation directions here:

    https://www.atomicorp.com/wiki/inde...#Special_notes_for_CPANEL_users_not_using_ASL
     
Loading...

Share This Page