mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-12-27 03:14:56 +00:00
5 lines
No EOL
229 B
ApacheConf
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> |