There was a problem loading the comments.

How do I deny users from viewing the files within a directory that does not have an index file?

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
Login to your CLIENT HMS account.

Locate the plan you want to work with, select a domain from the "Select Domain" dropdown and click on the "Htaccess" icon under the "Select Control Panel Function" table.

Under the "Create Rule" table please specify the following values:

Select Directory: Select the directory you want to setup the rule for. "/" indicates the domain root directory.

If you setup a disable directory browsing rule for the root directory and then setup another rule for a sub directory within the root of the domain the root htaccess file will override all subdirectory htaccess files.

Select Rule: Select "Directory Browsing" and click on "Proceed to Create Rule".

To disable directory browsing for the directory you selected then check the box under the "Disable Directory Browsing" row.

Click on "Save Settings".

The rule you just created will appear under the "Existing Rules" table.

Share via

Related Articles


Self-Hosted Help Desk Software by SupportPal
© Way3 Hosting