Code Snippet </> Info
Snippet Name: Disguise Script Extensions
Description: 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.
Note:
Author:
Last Modified: 2015-03-26 23:38:54
Language: .htaccess
Highlight Mode: html
|
Copy Codes: Use Free Notepad ++ |
|
Snap HTML Code Editor: Paste the source code, make changes and instantly see it in live preview. Snap HTML Code Editor
|
|
Copied To Clipboard!
# Serve foo files as php files
AddType application/x-httpd-php .foo
# serve foo files as cgi files
AddType application/x-httpd-cgi .foo
|