Disguise Script Extensions - To enhance security, disguise scripting languages by replacing actual script extensions with dummy extensions of your choosing. For example, to change the .foo? extension to .php?, add the following line to your .htaccess file and rename all affected files accordingly.
# Serve foo files as php files AddType application/x-httpd-php .foo # serve foo files as cgi files AddType application/x-httpd-cgi .foo