Skip to content

Instantly share code, notes, and snippets.

@mileszs
Created December 22, 2008 21:30
Show Gist options
  • Save mileszs/39130 to your computer and use it in GitHub Desktop.
Save mileszs/39130 to your computer and use it in GitHub Desktop.
# Secure PHP *.inc files
# If your PHP application has files ending in '.inc', you will want to
# put this either in a .htaccess file in the root of the app, in the
# virtual host configuration file, or in your global Apache
# configuration file.
<Files ~ "\.inc$">
Order allow, deny
Deny from all
</Files>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment