Bug 50432 - add PCRE-mode for file based matches
Summary: add PCRE-mode for file based matches
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_autoindex (show other bugs)
Version: 2.5-HEAD
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-08 08:53 UTC by Christoph Anton Mitterer
Modified: 2010-12-08 08:56 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Anton Mitterer 2010-12-08 08:53:46 UTC
Hi.

Currently the file-name based Add* directives are somewhat limited.
E.g. doing an AddIcon levelup.png ..
means that also files like "foo.." match.

Having PCRE versions of the Add* directives would give one the full flexibility.


Alternatively, please add a special keyword like "^^PARENT_DIRECTORY^^" for the ".." case (this is not a real file anyway).
Comment 1 Christoph Anton Mitterer 2010-12-08 08:56:59 UTC
This would allow one also to _not_ match files which are just named ".foo" and are more likely to be just some hidden file named "foo" and not a file of type "foo".