Last active
August 23, 2017 19:42
-
-
Save imelgrat/cbe7a48ba8aaca9a00dd to your computer and use it in GitHub Desktop.
Use .htaccess to disable execution (and send files to the browser) of CGI-based files. Full article at: http://imelgrat.me/security/wordpress-htaccess-file-protect/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AddHandler cgi-script .php .pl .py .jsp .asp .htm .shtml .sh .cgi | |
Options -ExecCGI |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment