You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2016/08/11 09:06:31 UTC
[Bug 59972] New: Allow parent .htaccess to override settings in
childs (subdirectories)
https://bz.apache.org/bugzilla/show_bug.cgi?id=59972
Bug ID: 59972
Summary: Allow parent .htaccess to override settings in childs
(subdirectories)
Product: Apache httpd-2
Version: 2.4.23
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: Runtime Config
Assignee: bugs@httpd.apache.org
Reporter: otakar.lavicka@gmail.com
It would be nice, in some cases, to disallow child .htaccess to overwrite
settings in parent .htaccess file.
Simple solution is some directive like "AllowChildOverride None" in .htaccess
file, which stop processing of all .htaccess files in all subdirectories.
Motivation:
- performance - Apache find .htaccess files in every directory in full path to
the document, which is in many cases not necessary
- security - many use cases, i.e. users which can uploads files through some
(little bit dummy) web application and so...
- mod_rewrite - last but not least, bye bye "RewriteOptions inherit"
And last thing - <Directory> directive in .htaccess should help also.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org