.htaccess 229 B

12345
  1. # Fixes a vulnerability in CentOS: http://stackoverflow.com/questions/20533279/prevent-php-from-parsing-non-php-files-such-as-somefile-php-txt
  2. <FilesMatch \.php\.txt$>
  3. RemoveHandler .php
  4. ForceType text/plain
  5. </FilesMatch>