sping 15/03/27 00:57:33 Modified: 20_mod_flvx.conf Log: www-apache/mod_flvx: Resolve AddHandler (bug #544572) (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x401A1600)
Revision Changes Path 1.2 www-apache/mod_flvx/files/20_mod_flvx.conf file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/mod_flvx/files/20_mod_flvx.conf?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/mod_flvx/files/20_mod_flvx.conf?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/mod_flvx/files/20_mod_flvx.conf?r1=1.1&r2=1.2 Index: 20_mod_flvx.conf =================================================================== RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_flvx/files/20_mod_flvx.conf,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- 20_mod_flvx.conf 8 Feb 2008 12:35:08 -0000 1.1 +++ 20_mod_flvx.conf 27 Mar 2015 00:57:33 -0000 1.2 @@ -1,6 +1,11 @@ <IfDefine FLVX> -LoadModule flvx_module modules/mod_flvx.so -AddHandler flv-stream .flv + LoadModule flvx_module modules/mod_flvx.so + + # Avoiding AddHandler directive for security + # https://bugs.gentoo.org/show_bug.cgi?id=544572 + <FilesMatch "\.flv$"> + SetHandler flv-stream + </FilesMatch> </IfDefine> # vim: ts=4 filetype=apache