Skip to main content

Password protection directory

Comments

5 comments

  • cPanelMichael
    Hello, Is this a cPanel server? If so, is there any reason your accounts are not stored in the /home/$username directory? Have you tried using the "Password Protect" feature in cPanel? Or, is this for a system directory that you want accessible to the public? Thank you.
    0
  • YogeshP
    Hello, Yes Its a cPanel server and we want to access a directory using
    0
  • danrussell
    Hi :), Any suggestions about this case? Or need any custom settings for the same?
    0
  • danrussell
    Hi , I am able to achieve the password protection by doing slight modification in httpd.conf as below: I have created below entry and replaced "AllowOverride None" by "AllowOverride All": =========== Options All AllowOverride All Require all granted =========== Till now no issues with the websites after I restarted the httpd service. Please let me know will it make any other effects with the above changes. Regards.
    0
  • cPanelMichael
    Till now no issues with the websites after I restarted the httpd service. Please let me know will it make any other effects with the above changes. Regards.

    I am happy to see the issue is now resolved. You can find more information on that option at:
    0

Please sign in to leave a comment.