Skip to content

Instantly share code, notes, and snippets.

@peterkraume
Created July 5, 2013 14:36
Show Gist options
  • Save peterkraume/5934971 to your computer and use it in GitHub Desktop.
Save peterkraume/5934971 to your computer and use it in GitHub Desktop.
Restrict access to certain directories
RewriteRule ^backups/ - [F]
RewriteRule ^fileadmin/(.*/)?_recycler_/ - [F]
RewriteRule ^fileadmin/templates/.*(\.txt|\.ts)$ - [F]
RewriteRule ^typo3conf/ext/[^/]+/Resources/Private/ - [F]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment