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!

Disabling /cpanel, /whm or /webmail per account

Discussion in 'E-mail Discussion' started by webignition, Jun 21, 2006.

  1. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    166
    The WHM option "Always redirect users to the ssl/tls ports when visiting /cpanel, /webmail, etc." adds various ScriptAlias and ScriptAliasMatch options to the Apache config so that browsing to example.com/cpanel, for example, redirects to example.com:2083.

    Does anyone know if it is possible to disable such redirects on a per account basis? I'd like one account to be able to use faq.example.com/cpanel to display a page detailing the features and benefits of cPanel instead of redirecting the user to the cPanel login area, whilst still leaving example.com/cpanel to redirect as normal.

    I would ideally like to be able to do so through .htaccess files as opposed to modifying a given domain's VirtualHost entry in the main Apache configuration, allowing users to change this at will if they need.

    Has anyone tried this before?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. forlinuxsupport

    forlinuxsupport Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2004
    Messages:
    386
    Likes Received:
    0
    Trophy Points:
    166
    cPanel Access Level:
    Root Administrator
    hi

    Yip, im looking to do this too.. Any ideas ?
    Maybe open an ENHANCEMENT request and in 10 years it will be implemented :)


    cheers
    andy
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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