questlab/doc/.htaccess
coderkun 046a724272 merge
2015-04-27 16:42:05 +02:00

5 lines
No EOL
229 B
ApacheConf

# 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>