-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,795
  • 33
  • 135
  • 209
Francisc
  • 153
  • 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
  • 4,233
  • 2
  • 21
  • 24