In the directory that you wish you turn off directory indexing, you can do it under Index Manager in the control panel or by creating an .htaccess file and include the following line:
IndexIgnore */*
To turn off indexing in all directories create a .htaccess file in your root/main directory (before public_html) and add the following line:
Options -Indexes
To enable it create an .htaccess file with the following line:
Options +Indexes
- 460 Users Found This Useful
Related Articles
What is a domain?
A domain is a human-readable name assigned to an IP address to make accessing websites much...
What perl modules are installed on the server?
You can get a complete list of the modules that are installed by going to the control panel and...
Disable error_log via htaccess
Prevent public display of PHP errors via htaccess# supress php errorsphp_flag...
Set CORS header to Allow Access for any Incoming Domain
The following may be used to set to always set the CORS header for any incoming domains without...
Error 404 - File Not Found
Files are case sensitive. Make sure you are typing the address in correctly. Verify that the...
