httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59972] New: Allow parent .htaccess to override settings in childs (subdirectories)
Date Thu, 11 Aug 2016 09:06:31 GMT
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


Mime
View raw message