aboutsummaryrefslogtreecommitdiff
path: root/docs/.htaccess
blob: 7b01f9bfd1d77067253ce73c450b7a7999a127b6 (plain) (blame)
1
2
3
4
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>