AddType application/mac-binhex40 hqx AddType application/x-stuffit sit AddType application/x-stuffit sea AddType application/ms-word msw AddType application/ms-excel xl xls AddType audio/x-pn-realaudio ram ra AddType audio/x-pn-realaudio-plugin rpm AddType text/html java class AddType audio/midi mid midi kar AddType application/x-shockwave-flash swf AddType application/futuresplash spl # Remove the pound sign before a line of text to allow it to execute: # This line allows files with Server Side Includes to run with # file name suffixes html htm shtm and shtml AddType text/x-server-parsed-html html htm shtm shtml # Allows one to download zip files from the server #AddType application/octet-stream exe zip # This forces the page load priority DirectoryIndex index.cgi index.htm index.html index.shtml # This prevents people from looking at your htaccess file. order deny,allow deny from all # Create files forbidden.html and nofile.html # When someone goes to a page # that does not exist, your nofile.html page will appear. #ErrorDocument 403 http://your_site.com/forbidden.html #ErrorDocument 404 http://your_site.com/nofile.html # Allows you to use perl scripts in your /public_html directory, etc. #AddHandler cgi-script cgi pl # Ensures files with .txt extension are read as plain text. #AddType text/html txt # Ensures files with PHP extension are read as plain text. #AddHandler text/html php3 php # Make perl scripts appear as text. Good for demonstrations. #RemoveHandler cgi-script cgi pl # Redirect any query to a directory or file. Example: redirect /order # to another site or directory. #Redirect /order http://your_domain.com/directory/directory/