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
Adding HTML to Site Builder
When adding HTML code/source in site builders be sure you are in HTML mode. There is often a...
Setting up Zend Framework
When setting up Zend Frameworks in your hosting account be sure to upload your frameworks folder...
How do I create a helpdesk ticket?
You may create a helpdesk ticket at any time by visiting https://my.ultrawebhosting.com and...
Show longer file names in directory/folder index
If you've ever wanted to show longer file names in your directory listing just create or edit an...
Meta Redirect
Adding this code to your web page will redirect your visitors to any address that you have...
