https://issues.apache.org/bugzilla/show_bug.cgi?id=50356
Summary: improve examples for matching file-extensions
Product: Apache httpd-2
Version: 2.3-HEAD
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Documentation
AssignedTo: [email protected]
ReportedBy: [email protected]
Throughout the documentation there are examples for matching file-extensions
via <Files> or <FilesMatch>, e.g. in these places:
http://httpd.apache.org/docs/2.2/mod/mod_mime.html#removeencoding
http://httpd.apache.org/docs/2.2/mod/core.html#files
http://httpd.apache.org/docs/2.2/mod/core.html#filesmatch
May I suggest to change all of them from matching:
*.extension(s) (or the PCRE equivalent)
to:
*?.extensions(s) (or the PCRE equivalent)
This has the advantage that files like ".gz.asc" would not be interpreted as
gzipped+encrypted file, but just as encrypted one (assuming that asc stands for
OpenPGP ASCII armor).
A file like ".gz.asc" is usually not a gzipped file, but rather the file ".gz",
which has been (e.g.) encrypted.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]