-1

I am using WHM. I want to set the default behaviour for any created accounts to be No-Indexing.

Also, when an account accesses CPanel, I want it to be shown the HTTP prompt for user and password instead of the HTML form.

How can I do that please?

HopelessN00b
  • 53,385
  • 32
  • 133
  • 208
Francisc
  • 143
  • 1
  • 3
  • 11

1 Answers1

1

For the first part of your question

To disable indexing globally, go to:

Main >> Service Configuration >> Apache Configuration >> Global Configuration

And then you can deselect indexing and save and rebuild conf to disable it by default, alternatively you can create a skeleton .htaccess file in /root/cpanel3-skel which the line

Options -Indexes

For the second part, the setting is in the security section of tweak settings in WHM: Main >> Server Configuration >> Tweak Settings

Enable HTTP Authentication

However for security I would not recommend making this change

anthonysomerset
  • 3,983
  • 2
  • 20
  • 24