Access the Server Manager and select the server instance for which you want to enable .htaccess access control.
Click the Class Manager link at the top of the screen.
Select the Content Mgmt tab.
Click the .htaccess Configuration link.
Select the server to be edited:
Select Yes to activate .htaccess.
Enter the file name for which you want to add .htaccess configuration to be added.
When finished, click Apply.
Select Hard Start/Restart or Dynamically Apply.