Disable directory indexing

The easiest way to disable directory indexing is to update/create a .htaccess. Add the following to a .htaccess file within your primary web folder:
Options -Indexes

Disable Zend using a .htaccess file

Some clients wish to disable zend on their site. This can be accomplished by creating a .htaccess file in their home folder with the following code:

php_flag zend.ze1_compatibility_mode off

Setting CGI to execute outside cgi-bin

The following line can be placed within a .htaccess file in the folder you wish to have CGI execution rights.

Options +ExecCGI

Prevent Image Hotlinking

Add The Following code to a .htaccess file in your home folder.

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?domain.com(/)?.*$     [NC]
RewriteRule .*.(gif|jpg|jpeg|bmp)$ – [F,NC]

In the example above be sure to replace domain.com with your actual domain name.   This will stop other sites from hotlinking images that end in .gif, .jpg, .jpeg, and .bmp.