xref: /template/wikiweko/.htaccess (revision 490668e8942e9e6cac3656421308eaff5bd30e66)
1fa5fcacaSAndreas Haerter#Note: If this file prevents running vector in your environment, simply delete
2fa5fcacaSAndreas Haerter#      it. Everything should be safe even if the files blocked by the following
3fa5fcacaSAndreas Haerter#      Apache rules are accessible.
4fa5fcacaSAndreas Haerter#      The reason for protecting these files is to to keep searchengines/foo
5fa5fcacaSAndreas Haerter#      away from indexing files containing version information, names and/or not
6fa5fcacaSAndreas Haerter#      necessarily public template parts by default.
7fa5fcacaSAndreas Haerter<FilesMatch "^inc_(detail|cite|mediamanager)\.php$">
8fa5fcacaSAndreas Haerter  Order Deny,Allow
9fa5fcacaSAndreas Haerter  Deny from all
10fa5fcacaSAndreas Haerter</FilesMatch>
11*490668e8SAndreas Haerter<FilesMatch "^(README|README-de|COPYING|ChangeLog|CREDITS|VERSION|style\.ini|template\.info\.txt|detail\.php|main\.php|mediamanager\.php)$">
12fa5fcacaSAndreas Haerter  Order Deny,Allow
13fa5fcacaSAndreas Haerter  Deny from all
14fa5fcacaSAndreas Haerter</FilesMatch>
15