aports/community/php5/php5-module.conf
pawciobiel 91d57c3ab0 community/php5: Change php5-module.conf to use SetHandler
Avoids serving non php files using php handler.

imported from https://github.com/alpinelinux/aports/pull/206
2017-11-23 10:22:15 +00:00

14 lines
377 B
Plaintext

LoadModule php5_module modules/libphp5.so
DirectoryIndex index.php index.html
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
# Uncomment the following to allow .phps files to be handled by the php source filter,
# and displayed as syntax-highlighted source code
#<FilesMatch "\.phps$">
# SetHandler application/x-httpd-php-source
#</FilesMatch>