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
# BEGIN Secure MIME-types | |
<FilesMatch "\.[Jj][Pp][Ee]?[Gg]$"> | |
ForceType image/jpeg | |
</FilesMatch> | |
<FilesMatch "\.[Pp][Nn][Gg]$"> | |
ForceType image/png | |
</FilesMatch> | |
<FilesMatch "\.[Gg][Ii][Ff]$"> | |
ForceType image/gif | |
</FilesMatch> |
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
<?php | |
/** | |
* This is a database connectivity script for WordPress. | |
* It's designed to help troubleshot the dreaded "Error Establishing Database Connection" error. | |
* | |
* How does it work? It uses regular expressions to match the database settings in the wp-config.php | |
* and then tests those settings. If there is an error thrown, the script interprets the error and | |
* prints actionable information that can be used to fix the site, if at all possible. If the database | |
* connection works, the script will run a REPAIR on all tables in the database, and print the results. |
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
<?php $possible_messages = [ | |
'Nope', | |
'Go away', | |
'Nice try', | |
'XML-RPC requests on this server have been disabled cuz of people like you. This is why we can\'t have nice things.', | |
'We don\'t serve your kind here', | |
'<img src="//i.imgur.com/oeLBdQJ.png">', | |
'<img src="//i.imgur.com/ZZW6M6P.gif"><hr>Did you really think an xmlrpc.php attack would work on this site?', | |
'<img src="//i.imgur.com/OkQFngF.png"><hr>Get off my site! (And stop trying to access people\'s xmlrpc.php files.)', |
NewerOlder