httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50356] New: improve examples for matching file-extensions
Date Sun, 28 Nov 2010 19:46:27 GMT
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: docs@httpd.apache.org
        ReportedBy: calestyo@scientia.net


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: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message