Checkout Tools
  • last updated 4 hours ago
Constraints: committers
Constraints: files
Constraints: dates
Stage #1 of the aaa rewrite - refactoring modules.

All modules are reorganized under the following scheme:

- mod_auth_*: Front-end (basic, digest)

- mod_authn_*: Authentication (anon, dbm, default, file)

- mod_authz_*: Authorization (dbm, default, groupfile, host, user)

This passes the httpd-test suite when it accounts for the renaming of

aaa modules.

Originally written by: Dirk-Willem van Gulik

Completed by: Justin Erenkrantz

  1. … 26 more files in changeset.
Clean up style on mod_auth_anon.c before hacking it to pieces.




  1. … 8 more files in changeset.
stop using APLOG_NOERRNO in calls to ap_log_[pr]error()

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

  1. … 260 more files in changeset.
Get rid of some cruft. Setting these flag slots is best left to the core.

Don't need apr_pcalloc on any of these, since we explicitly initialize

all data members anyway.

Submitted by: Ryan Bloom

  1. … 3 more files in changeset.
use "conf" rather than "sec" for the configuration data. misc style,

whitespace, and other cleaning nits.

  1. … 3 more files in changeset.
Rename the module structures so that the exported symbol matches

the file name, and it is easier to automate the installation

process (generating LoadModule directives from the module filenames).

Next step is to remove the 4th argument to the APACHE_MODULE macro

completely and require people to use the matching names, and to

reduce the LoadModule directive to 1 argument.... Objections?

  1. … 12 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


  1. … 2 more files in changeset.
include strings.h for strcasecmp()

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.
adjust remaining modules to use the new handler hook method (Alan Edwards)

bring back the old handler prototype by reusing r->handler (dougm)


Obtained from:

Submitted by:

Reviewed by:

  1. … 29 more files in changeset.
Get all of the auth modules to the point that they will install and

be loadable into the server. Our new build/install mechanism expects

that all modules will have a common name format. The auth modules

didn't use that format, so we didn't install them properly.

  1. … 4 more files in changeset.
Get mod_auth_anon to compile cleanly in 2.0

Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbols

for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper)


All _VAR_ flavors changes to _DATA to be absolutely clear.

Thank you Greg, for the most obvious suggestion.

  1. … 102 more files in changeset.
prefix libapr functions and types with apr_

  1. … 143 more files in changeset.
blast the old names for the status codes

  1. … 26 more files in changeset.


Obtained from:

Submitted by:

Reviewed by:

Reverse out all _EXPORT_VAR changes back to their original _VAR_EXPORT

names for linkage (API_, CORE_, and MODULE_).

  1. … 50 more files in changeset.

This patch corrects the issues from the AP_EXPORT and linkage

specification arguments to the ap_hooks.h declarations. As with

the APR_ and AP_ patches, API_VAR_EXPORT becomes API_EXPORT_VAR,


I will be happy to revert the inclusion of ap_config.h from

httpd.h if this bothers anyone. More individual modules need

to be patched if we do so.

The API_EXPORTs all moved into central storage in the ap_config.h

header. Without WIN32 or API_STATIC compile time declarations,

these macros remain no-ops.

This patch also moves the following data from http_main to http_config:

const char *ap_server_argv0;

const char *ap_server_root;

ap_array_header_t *ap_server_pre_read_config;

ap_array_header_t *ap_server_post_read_config;

ap_array_header_t *ap_server_config_defines;

And the following variables had already moved into ap_hooks.c:

ap_pool_t *g_pHookPool; (initialized now in http_config)

int g_bDebugHooks; (out of http_config)

const char *g_szCurrentHookName; (out of http_config)

The changes to http_main.c are in preparation for that module to

move out to a seperate .exe for win32. Other platforms will be

unaffected, outside of these changes.

  1. … 61 more files in changeset.
add AP_ prefix to *HOOK* macros

  1. … 34 more files in changeset.
Change ap_context_t to ap_pool_t. This compiles, runs, and serves pages

on Linux, but probably breaks somewhere.

  1. … 88 more files in changeset.
Update to Apache Software License version 1.1

  1. … 65 more files in changeset.
Fix a comment

changed module name to more consistent naming scheme, as used by configure: mod_auth_xxx -> auth_xxx_module

  1. … 4 more files in changeset.
Fix all the License issues. Including:

s/Apache Group/Apache Software Foundation/


s/Sascha's license/ASF license

  1. … 146 more files in changeset.
I am not claiming that the modules work now, but at least the parameter lists

are prepared for the updated ap_log_rerror() format. BTW: What is APLOG_NOERROR

for now that we have an explicit error code? This is still WIP!

  1. … 9 more files in changeset.
Remove most of the annoying "re ap_context_t mplement" mis-replacements

by what I think is their real meaning. Guys, I didn't verify all of this,

please have a close look at my "fixes". Thanks.

  1. … 20 more files in changeset.