httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 59972] New: Allow parent .htaccess to override settings in childs (subdirectories)
Date Thu, 11 Aug 2016 09:06:31 GMT

            Bug ID: 59972
           Summary: Allow parent .htaccess to override settings in childs
           Product: Apache httpd-2
           Version: 2.4.23
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Runtime Config

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.


- 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:
For additional commands, e-mail:

View raw message