Bluehost Web Hosting Help
Stopping Display of All files on Web page
Sometimes, for one reason or another, you will have no index file in your directory. This will, of course, mean that if someone types the directory name into their browser, theIndex of /page will appear with a full listing of all the files in that directory will be shown. This could be a security risk for your site.
Note: You can also manage the index settings through the cPanel interface.
To prevent against this (without creating lots of new 'index' files, you can enter a command into your .htaccess file to stop the directory list from being shown:Options -Indexes
Recommended Help Content
Avoiding index html
How do I display my home page which is using a name other than index.html?
Explains the use of DirectoryIndex and how to use it.
PHP pages do not display
If suddenly when you go to your page, you get nothing on the page. You can still get HTML to display, just not PHP. To serve HTML pages to browsers, we don't associate the Apache processes with your 2
Related Help Content
How to host the Primary Domain from a subfolder htaccess
How do I make a sub directory (or sub folder) act as the public_html for your main domain?
What is the .htaccess file and where can I find more information?
Adding Handlers to change your PHP Version
This article will explain how to add a PHP handler to your .htaccess files. This is useful if you want to customize the version of PHP that runs your PHP files.
What is the Index Manager? How do I use the Index Manager?
Hotlink Protection Using mod_rewrite
Preventing bandwidth theft using the mod rewrite engine and .htaccess
Redirects that do not work due to PHP variables
The redirection of www.yourdomain.com/default.html or index.html to http://www.yourdomain.com/index.php?act=whatever redirects it to http://www.yourdomain.com/index.php%3fact=whatever In other words,
How to fix ExecCGI in .htaccess
How to run CGI scripts for Addon domains.
URL redirect rewrite using the htaccess file
How do I perform a URL redirect/rewrite using the .htaccess file?