Snap Builder Public Codes Library
Snap | Generators | Login | Browse | Search | Enter Code | Export Snap Builder Public Codes Library


Category: >> .HTACCESS Codes Library >> Disguise Script Extensions

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.



Last Modified: 2015-03-26 23:38:54

Language: .htaccess

Highlight Mode: html

Copy Codes: Use Free Notepad ++
Bookmark and Share

Snap HTML Code Editor:
Paste the source code, make changes and instantly see it in live preview.
Snap HTML Code Editor

  About Copying
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

[ Snippet Options ]


© 2002 -  Snap Builder Public Codes Library