Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

True cPanel Auto-Login Script

Discussion in 'General Discussion' started by ccMods, May 4, 2005.

  1. ccMods

    ccMods Registered

    Mar 11, 2005
    Likes Received:
    Trophy Points:

    Ok; I've been scratching my head with this for the past few weeks.

    I use a central account manager that I've custom coded to perform all the tasks my clients need but there's one thing missing... A log in for cPanel (What should have been the easy bit!)

    I can populate a URL and log users in by-passing the HTTP_AUTH box; but that's no good anymore thanks to Microsoft publishing the SP2 URL fix which does not allow a URL to include a username/password combo.

    I need to effectively push a username and password into the user's browser via PHP; JavaScript is not an option due to the clientele I deal with... It must be transparent.

    I've got cURL to login to cPanel and display the index page without issue; but as soon as the user clicks a link; up pops the HTTP_AUTH.

    Has anyone suceeded in pushing this data like the "xfercpanel" feature does in WHM?
  2. RAIS2

    RAIS2 Well-Known Member

    Jul 16, 2004
    Likes Received:
    Trophy Points:

    Works fine for me, I am on XP SP2 and when I click a link like that I can login to cPanel with no issues or errors.

    Alternatively there is a configuration setting to disable HTTP Authenication within WHM.

    `Tweak Settings` >> Look for `System` >> [checkbox] Disable Http Authentication for cPanel/WebMail/WHM Logins (forces cookie authentication)

    This may help you out.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice