MaketRandevu/doc/code/php/.htaccess

5 lines
229 B
ApacheConf
Raw Normal View History

2015-01-22 00:17:16 +02:00
# 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>