Checkout Tools
  • last updated 4 hours ago
Constraints: committers
Constraints: files
Constraints: dates
If several directories are given in a UserDir directive, only files in the first existing one are checked. If the file is not found there, the other possible directories are not checked. The doc clearly states that they will be checked one by one, until a match is found or an external redirect is performed.

PR 59636.

While at it, add some debug messages to better understand what is performed.

  1. … 2 more files in changeset.
Constify and save a few bytes in the conf pool when parsing "UserDir" directive
Cleanup effort in prep for GA push:

Trim trailing whitespace... no func change

  1. … 118 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.
readability improvements:

rename w -> user, x -> prefix

break some very long lines

PR44076: allow "userdir disabled" or "userdir public_html" in global scope to

be merged with lists of enabled users in virtual host context as one would


  1. … 1 more file in changeset.
remove some useless use of strlen()

  1. … 2 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.
Bring back OS/2 support.

Reverses r758929 with a little bit of conflict resolution.

  1. … 37 more files in changeset.
remove OS/2 platform support

  1. … 31 more files in changeset.
remove BeOS OS support

  1. … 13 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: 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.
* modules/mappers/mod_userdir.c (get_suexec_id_doer): Fix allocation


PR: 34588

Merged the simple-conf branch changes r159781:160695 into the trunk.

  1. … 22 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.
* modules/mappers/mod_userdir.c (register_hooks): Move suexec_identity

hook to APR_HOOK_FIRST to ensure it runs before the mod_suexec hook.

PR: 18156

Submitted by: Joshua Slive

  1. … 1 more file 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.
switch to APR 1.0 API (which is still in flux)

because of the changes to the argument lists of apr_mmap_dup and apr_socket_create,

2.1-dev won't build with apr and apr-util's 0.9 branch anymore

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

update license to 2003.

Happy New Year! ;-))

  1. … 271 more files in changeset.
Allow the UserDir directive to accept a list of directories.

This matches what Apache 1.3 does. Also add documentation for

this feature.

PR: 9299

Submitted by: Jay Ball <>

  1. … 4 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.
We must set the MIME-type for .shtml files to text/html if we want them

to be parsed for SSI tags. Add the config for that to the default

config file so that it is easier to enable .shtml parsing.

PR: 9787

Submitted by: Dave Dyer <>

  1. … 2 more files in changeset.
Fix segfault when x hasn't been initialized and tighten its scope.

Fix http redirecting for UserDir. Before this patch, the directive:


The code would ignore the http:// and instead use the user's home directory