Fix DirectoryMatch to not match regular files?

2014-10-29 Thread Jan Kaluža
Hi, I was trying to fix PR41867 using attached patch. While the patch seems to work, I'm thinking if the behaviour change introduced by the patch can bring some problems. Currently, DirectoryMatch ^/var/www/html/private matches also /var/www/html/private.txt even it is a regular file and

Re: Fix DirectoryMatch to not match regular files?

2014-10-29 Thread Yann Ylavic
Hi Jan, IMHO the patch is valid, even for backports. Directory and DirectoryMatch are documented to enclose a group of directives that will apply only to the named *directory*, sub-directories of that *directory*, and the files within the respective *directories*. While Directory does the

RE: Fix DirectoryMatch to not match regular files?

2014-10-29 Thread wrowe
. Bill - Original Message - Subject: Fix DirectoryMatch to not match regular files? From: Jan Kaluža jkal...@redhat.com Date: 10/29/14 6:18 am To: dev@httpd.apache.org Hi, I was trying to fix PR41867 using attached patch. While the patch seems to work, I'm thinking