diff options
Diffstat (limited to 'app-eselect/eselect-php/files/70_mod_php.conf')
-rw-r--r-- | app-eselect/eselect-php/files/70_mod_php.conf | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/app-eselect/eselect-php/files/70_mod_php.conf b/app-eselect/eselect-php/files/70_mod_php.conf deleted file mode 100644 index cf996fab3cf8..000000000000 --- a/app-eselect/eselect-php/files/70_mod_php.conf +++ /dev/null @@ -1,26 +0,0 @@ -<IfDefine PHP> - # The mod_php.so symlink is controlled by - # eselect-php. However, the module name changed from - # php5_module to php7_module so we can't blindly load whatever - # is there. Instead we let eselect-php manage a small - # configuration file that loads the appropriate module. - # - # This is relative to ServerRoot (see httpd.conf). - Include ../../../var/lib/eselect-php/mod_php.conf - - # Tell apache that mod_php should handle PHP files. - # - # NOTE: Avoiding AddHandler/AddType for security (bug - # #538822). Please read the related news item! - <FilesMatch "\.(php|php[57]|phtml)$"> - SetHandler application/x-httpd-php - </FilesMatch> - - # PHP source files which are meant to be displayed as - # syntax-highlighted source code. - <FilesMatch "\.phps$"> - SetHandler application/x-httpd-php-source - </FilesMatch> - - DirectoryIndex index.php index.phtml -</IfDefine> |