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!

Possible to password protect a website without touching the .htaccess file?

Discussion in 'General Discussion' started by sm9, May 20, 2013.

  1. sm9

    sm9 Active Member

    Joined:
    Oct 10, 2009
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    56
    Hi there,

    I'd like to password protect a staging website, but using a method that doesn't amend the .htaccess file.

    The reason for this is because I deploy changes to the site via Git/Beanstalk, and the .htaccess file is included in this so any password protection code added to it via cPanel will be overridden.

    Are there any non-htaccess methods in cPanel/WHM?

    Thanks,

    Stephen
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,378
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. sm9

    sm9 Active Member

    Joined:
    Oct 10, 2009
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    56
    Hi Michael,

    Thanks for this, I'll check those links out.

    Stephen
     
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