sping       15/04/05 23:12:19

  Added:                70_mod_php5.conf-apache2-r1
  Log:
  app-eselect/eselect-php: Move from AddHandler to FilesMatch/SetHandler for 
security (bug #538822)
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
0x401A1600)

Revision  Changes    Path
1.1                  app-eselect/eselect-php/files/70_mod_php5.conf-apache2-r1

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-eselect/eselect-php/files/70_mod_php5.conf-apache2-r1?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-eselect/eselect-php/files/70_mod_php5.conf-apache2-r1?rev=1.1&content-type=text/plain

Index: 70_mod_php5.conf-apache2-r1
===================================================================
<IfDefine PHP5>
        # Load the module first
        <IfModule !mod_php5.c>
                LoadModule php5_module    modules/libphp5.so
        </IfModule>

        # Set it to handle the files
        # NOTE: Avoiding AddHandler/AddType for security (bug #538822)
        # NOTE: Please read the related news item!
        <FilesMatch "\.(php|php5|phtml)$">
                SetHandler application/x-httpd-php
        </FilesMatch>
        <FilesMatch "\.phps$">
                SetHandler application/x-httpd-php-source
        </FilesMatch>

        DirectoryIndex index.php index.phtml
</IfDefine>




Reply via email to