mod_vhost_alias.c

Checkout Tools
  • last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename ap_casecmpstr[n]() to ap_cstr_casecmp[n](), update with APR doxygen
  1. … 49 more files in changeset.
More ap_casecmpstr[n]() usages (follow up to r1715876).

  1. … 26 more files in changeset.
Fix some style issues on files that can easily be synch'ed with 2.4.x
  1. … 15 more files in changeset.
- 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.

  1. … 10 more files in changeset.
Cleanup... most don't need apr_hooks.h at all...
  1. … 15 more files in changeset.
fix some dead assignments found by the clang analyzer

  1. … 11 more files in changeset.
Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take

advantage of per-module loglevels

  1. … 169 more files in changeset.
update license header text
  1. … 316 more files in changeset.
Update the copyright year in all .c, .h and .xml files

  1. … 497 more files in changeset.
No functional change: remove "internal" tab spacing/formatting.

  1. … 32 more files in changeset.
No functional Change: Removing trailing whitespace. This also

means that "blank" lines consisting of just spaces or

tabs are now really blank lines

  1. … 180 more files in changeset.
No functional change: simple detabbing of indented code.

  1. … 72 more files in changeset.
Update copyright year to 2005 and standardize on current copyright owner line.

  1. … 522 more files in changeset.
general property cleanup

  1. … 712 more files in changeset.
fix name of The Apache Software Foundation

  1. … 361 more files in changeset.
fix copyright dates according to the first check in

  1. … 25 more files in changeset.
apply Apache License, Version 2.0

  1. … 262 more files in changeset.
update license to 2004.

  1. … 281 more files in changeset.
finished that boring job:

update license to 2003.

Happy New Year! ;-))

  1. … 271 more files in changeset.
Fix some hook ordering problems. mod_vhost_alias should, perhaps, be HOOK_LAST.

It redefines the document root, so it should only be used if no other mapper wants

the request. I haven't made that change here; I've simply put explict ordering

to make sure we get

mod_alias -> mod_userdir -> mod_vhost_alias

I can't compile apache at the moment for other reasons, so this is untested,

but it looks right to me.

PR: 8853

  1. … 2 more files in changeset.
Update our copyright for this year.

  1. … 260 more files in changeset.

Already committed in similar form to Apache 1.3.22-dev, this patch allows

Win32/OS2/Netware paths to work with mod_vhost_alias.

Legibility counts for something, so does eliminating bogus ssize_t

products from pointer subtraction ;)

*) fix inline handling. we had: apr_inline, APR_INLINE, USE_GNU_INLINE, and

INLINE. Now, we just have APR_INLINE and APR_HAS_INLINE.

- convert all usage

- note that apr_general messed up the defn (compared to apr.h)

- simplify the inline decision logic in os/*/os.h

- simplify the code in os/*/os-inline.c

*) toss ap_checkconv() [no longer used]

  1. … 16 more files in changeset.
Update copyright to 2001

  1. … 205 more files in changeset.
clean up more warnings and link problems after the header file

shuffle

  1. … 2 more files in changeset.
*) continued header revamping

*) torch some headers (and some libs) from the autoconf stuff

  1. … 25 more files in changeset.

The big change. This is part 3 of the apr-util symbols rename, please

see the first commit of srclib/apr-util/include (cvs apr-util/include)

for the quick glance at symbols changed.

  1. … 85 more files in changeset.

Provide apr_pool_t arg to register_hooks, since anything they do in that

step -must- be done with a pool that will not outlive the cmd pool, from

which they may have been dynamically loaded.

  1. … 47 more files in changeset.
fix some handler brokenness

  1. … 2 more files in changeset.