FilesMatch Case-sensitive or insensitive?

Helicon Ape provides support for Apache .htacces and .htpasswd configuration files for Microsoft IIS.
User avatar
Posts: 22
Joined: 19 Aug 2012, 20:24

FilesMatch Case-sensitive or insensitive?

27 Jun 2014, 14:52

Hi,

Is the FilesMatch directive case-sensitive or insensitive?

I saw an .htaccess example with:
Code: Select all
<FilesMatch "\.(?i:pdf)$">


and wondered if the ?i was needed.

Thanks,
Bob

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: FilesMatch Case-sensitive or insensitive?

01 Jul 2014, 06:48

Hello,

FilesMatch directive is case-INSENSITIVE, so you don't need to add i: to the pattern.
I believe the example you provided is for Apache not Ape, that's why it has slightly different syntax.

Return to Helicon Ape

Who is online

Users browsing this forum: No registered users and 5 guests