anantshri/wp-security/master/htaccess/disable_php_easter_egg.htaccess - Htaccess File

anantshri/wp-security/master/htaccess/disable_php_easter_egg.htaccess

## Disallow PHP Easter Eggs (can be used in fingerprinting attacks to determine
## your PHP version). See http://www.0php.com/php_easter_egg.php and
## http://osvdb.org/12184 for more information
## Ref : http://journalxtra.com/websiteadvice/wordpress-security-hardening-htaccess-rules/
RewriteCond %{QUERY_STRING} =PHP[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} [NC]
RewriteRule .* - [F,L]

On Github License

Files

Download PDF of Htaccess file
QUERY_STRING

Comments

Apache