diff options
author | Stefan Fritsch <sf@apache.org> | 2011-06-05 23:33:12 +0200 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2011-06-05 23:33:12 +0200 |
commit | feca55db60704131ac4584ceb60a6cf17a97b2ac (patch) | |
tree | 2f3d166711f83a6f3d40c3dc3f7ebb84fa4303d9 /CHANGES | |
parent | - Add <ElseIf> and <Else> to complement <If> sections. These are both easier (diff) | |
download | apache2-feca55db60704131ac4584ceb60a6cf17a97b2ac.tar.xz apache2-feca55db60704131ac4584ceb60a6cf17a97b2ac.zip |
- Introduce concept of context prefix (which is an URL prefix)
and context document root (which is the file system directory that
this URL prefix is mapped to). This generalization of the document
root makes it easier for scripts to create self-referential URLs and
to find their files.
- Expose CONTEXT_DOCUMENT_ROOT and CONTEXT_PREFIX as envvars, in mod_rewrite,
and in ap_expr.
- Make mod_alias and mod_userdir set the context information.
- Allow to override the document root on a per-request basis. This allows
mass vhosting modules to set DOCUMENT_ROOT correctly.
- Make mod_vhost_alias set the per-request document root
PR: 26052, 46198, 49705
Remaining tasks:
- Use the context document root & prefix in mod_rewrite to make RewriteBase
unneccessary in many cases. Do this without breaking compatibility.
- Write docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1132494 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -2,6 +2,15 @@ Changes with Apache 2.3.13 + *) mod_userdir/mod_alias/mod_vhost_alias: Correctly set DOCUMENT_ROOT, + CONTEXT_DOCUMENT_ROOT, CONTEXT_PREFIX. PR 26052. PR 46198. + [Stefan Fritsch] + + *) core: Allow to override document_root on a per-request basis. Introduce + new context_document_root and context_prefix which provide information + about non-global URI-to-directory mappings (from e.g. mod_userdir or + mod_alias) to scripts. PR 49705. [Stefan Fritsch] + *) core: Add <ElseIf> and <Else> to complement <If> sections. [Stefan Fritsch] |