Created
February 22, 2016 14:15
-
-
Save ssm/e033caa814b411889858 to your computer and use it in GitHub Desktop.
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
sub no_php_here { | |
if (req.url ~ "\.php(\?|$)") { | |
std.log("denied: request for .php"); | |
return(synth(418, "I'm a teapot!")); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment