mirror of
https://github.com/apache/httpd.git
synced 2025-11-05 05:30:39 +03:00
PR49823: Make the hardcoded default for AllowOverride match the default config -- None.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1031776 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -6,6 +6,9 @@ Changes with Apache 2.3.9
|
|||||||
Fix a denial of service attack against mod_reqtimeout.
|
Fix a denial of service attack against mod_reqtimeout.
|
||||||
[Stefan Fritsch]
|
[Stefan Fritsch]
|
||||||
|
|
||||||
|
*) core: In the absence of any AllowOverride directives, the default is now
|
||||||
|
"None" instead of "All". PR49823 [Eric Covener]
|
||||||
|
|
||||||
*) mod_proxy: Don't allow ProxyPass or ProxyPassReverse in
|
*) mod_proxy: Don't allow ProxyPass or ProxyPassReverse in
|
||||||
<Directory> or <Files>. PR47765 [Eric Covener]
|
<Directory> or <Files>. PR47765 [Eric Covener]
|
||||||
|
|
||||||
|
|||||||
@@ -300,7 +300,7 @@ be passed through</description>
|
|||||||
<code>.htaccess</code> files</description>
|
<code>.htaccess</code> files</description>
|
||||||
<syntax>AllowOverride All|None|<var>directive-type</var>
|
<syntax>AllowOverride All|None|<var>directive-type</var>
|
||||||
[<var>directive-type</var>] ...</syntax>
|
[<var>directive-type</var>] ...</syntax>
|
||||||
<default>AllowOverride All</default>
|
<default>AllowOverride None (2.3.9 and later), AllowOverride All (2.3.8 and earlier)</default>
|
||||||
<contextlist><context>directory</context></contextlist>
|
<contextlist><context>directory</context></contextlist>
|
||||||
|
|
||||||
<usage>
|
<usage>
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ static void *create_core_dir_config(apr_pool_t *a, char *dir)
|
|||||||
|
|
||||||
conf->opts = dir ? OPT_UNSET : OPT_UNSET|OPT_ALL;
|
conf->opts = dir ? OPT_UNSET : OPT_UNSET|OPT_ALL;
|
||||||
conf->opts_add = conf->opts_remove = OPT_NONE;
|
conf->opts_add = conf->opts_remove = OPT_NONE;
|
||||||
conf->override = dir ? OR_UNSET : OR_UNSET|OR_ALL;
|
conf->override = OR_NONE;
|
||||||
conf->override_opts = OPT_UNSET | OPT_ALL | OPT_SYM_OWNER | OPT_MULTI;
|
conf->override_opts = OPT_UNSET | OPT_ALL | OPT_SYM_OWNER | OPT_MULTI;
|
||||||
|
|
||||||
conf->content_md5 = 2;
|
conf->content_md5 = 2;
|
||||||
|
|||||||
Reference in New Issue
Block a user