Eric Covener wrote:
On Fri, Jul 24, 2009 at 10:07 AM, "Fábio Jr."<fjuniorli...@gmail.com> wrote:
Hello,

Is the FilesMatch directive case sensitive?

If isn't, can I use a regex like "\.(jpe?g|JPE?G)" to solve the problem?


It's case sensitive. You can prefix a PCRE expression with (?i) to
make it case-insensitive without any special support in Apache.


Maybe still be careful if your server is a Windows server.
Because even if FilesMatch is case-sensitive, the NTFS filesystem is not. I don't know how exactly Apache deals with that.

I mean, if your intention is to return the file whether it ends in .jpeg,.Jpeg,..JPeG or whatever, then it does not matter.
But it would matter if you wanted to exclude .Jpeg but accept .jpeg.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to