mod_privsep
Privilege Separation for Apache httpd

mod_privsep patches for Apache httpd

Please note that mod_privsep is still experimental.

httpd-2.3.0-dev (trunk) patches:

(Note: This version of the patch relies on 2 new functions, apr_os_file_put_ex and apr_os_dir_put_ex for which patches are in the apr bugzilla links mentioned in the Notes section below).

httpd-2.2.6 patches:

You can use the first two 2.3.0-dev patches above (mod_privsep-2.3.0-...patch and mod_authn_privsep-2.3.0-...patch) patches plus these 2.2.6 specific core patches:

Notes:

The version of the patch for 2.2.6 requires access to some private headers due to limitations in the APR api.

There are two proposed patches against apr trunk which allow mod_privsep in 2.3.0-dev to work without access to private APR headers:

If you have apr already installed and the configure script is picking up your system apr library and includes (which don't have the private headers as they are not usually installed) then you may need to force the build against the bundled apr (in httpd-2.2.6/srclib/apr) so the private headers can be accessed.

You can override the system apr and force configure to use the bundled apr by adding --with-apr=srclib/apr --with-apr-util=srclib/apr-util to the configure script arguments.

httpd-2.0.x patches:

httpd-1.3.41 patches:

httpd-1.3.39 patches: