diff options
| author | root <root@serverpc.home> | 2016-05-04 19:46:53 +0200 |
|---|---|---|
| committer | root <root@serverpc.home> | 2016-05-04 19:46:53 +0200 |
| commit | 4b978d4584994536f05b016fb65de9a8667bcb2d (patch) | |
| tree | 5f45e5b0cfcd74058c7de57afe0646cd253672f3 /server/doc/.htaccess | |
| parent | 0266c16ffc97042853916c390aaaccecc72e69a1 (diff) | |
| parent | a0056da90605f2fb4c2479cae310f12a81a9a3e7 (diff) | |
Merge branch 'master' into loic
Diffstat (limited to 'server/doc/.htaccess')
| -rw-r--r-- | server/doc/.htaccess | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/doc/.htaccess b/server/doc/.htaccess new file mode 100644 index 0000000..7b01f9b --- /dev/null +++ b/server/doc/.htaccess @@ -0,0 +1,5 @@ +# Fixes a vulnerability in CentOS: http://stackoverflow.com/questions/20533279/prevent-php-from-parsing-non-php-files-such-as-somefile-php-txt +<FilesMatch \.php\.txt$> + RemoveHandler .php + ForceType text/plain +</FilesMatch>
\ No newline at end of file |
