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!

Password Protect brings up 500 Internal Server Error! Help!

Discussion in 'General Discussion' started by Chri5123, Jun 7, 2010.

  1. Chri5123

    Chri5123 Registered

    Jun 7, 2010
    Likes Received:
    Trophy Points:
    Hey guys,

    I want to password protect a folder on my site and i have done so with a simple password protect in cpanel, nice and simple.

    However it tends to work first time however if i clear my cache or another person trys to log in it brings up a 500 internal server error.

    Why is this?

    The only way i can get it to work again is delete the user or add another user and i cant do this every 5 mins.

    Please help!

  2. madaboutlinux

    madaboutlinux Well-Known Member

    Jan 24, 2005
    Likes Received:
    Trophy Points:
    Can you paste the contents of your .htaccess file here? BTW, do you own the server? If yes, what do the Apache error logs say

    You can also manually password protect a directory using the .htaccess file. Just place the Auth code and create a .htpasswd file to include user:password.

    Make sure you place the .htaccess file in a directory you want to password protect to.
    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