Skip to content

Instantly share code, notes, and snippets.

@ctolkien
Created August 2, 2013 01:32
Show Gist options
  • Save ctolkien/6136854 to your computer and use it in GitHub Desktop.
Save ctolkien/6136854 to your computer and use it in GitHub Desktop.
Blocking PHP on IIS7+
<system.webServer>
<security>
<requestFiltering>
<fileExtensions allowUnlisted="true" >
<add fileExtension=".php" allowed="false"/>
</fileExtensions>
</requestFiltering>
</security>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment