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