Options -Indexes

# black list method
#AddHandler cgi-script .php .pl .py .jsp .asp .htm .shtml .sh .cgi
#Options -ExecCGI

# white list method
RewriteEngine On
RewriteRule !\.(jpg|gif|tiff|pdf|png)$ - [F]

# deny directory listing.
IndexIgnore *

