FilesMatch Case-sensitive or insensitive?
2 posts
• Page 1 of 1
FilesMatch Case-sensitive or insensitive?
Hi,
Is the FilesMatch directive case-sensitive or insensitive?
I saw an .htaccess example with:
and wondered if the ?i was needed.
Thanks,
Bob
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
Re: FilesMatch Case-sensitive or insensitive?
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.
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.
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests