Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here


Apache module to support atomic deploys -

Subscribe to updates I use mod_realdoc

Statistics on mod_realdoc

Number of watchers on Github 110
Number of open issues 5
Average time to close an issue about 3 hours
Main language C
Average time to merge a PR less than a minute
Open pull requests 4+
Closed pull requests 0+
Last commit over 2 years ago
Repo Created over 6 years ago
Repo Last Updated over 1 year ago
Size 10 KB
Organization / Authoretsy
Page Updated
Do you use mod_realdoc? Leave a review!
View open issues (5)
View mod_realdoc activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating mod_realdoc for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

mod_realdoc is an Apache module which does a realpath on the docroot symlink and sets the absolute path as the real document root for the remainder of the request.

It executes as soon as Apache is finished reading the request from the client.

The realpath frequency can be adjusted in httpd.conf using:

<IfModule mod_realdoc.c>
    RealpathEvery 2

By resolving the configured symlinked docroot directory to an absolute path at the start of a request we can safely switch this symlink to point to another directory on a deploy. Requests that started before the symlink change will continue to execute on the previous symlink target and therefore will not be vulnerable to deploy race conditions.

This module is intended for the prefork mpm. Threaded mpms will incur race conditions.

Compile and install with:

apxs -c mod_realdoc.c
sudo apxs -i -a -n realdoc
mod_realdoc open issues Ask a question     (View All Issues)
  • over 4 years VirtualHost/DocumentRoot conflict when using mod_realdoc
mod_realdoc open pull requests (View All Pulls)
  • added link to apache extension tool
  • Redhat spec
  • Zoosk modifications
  • Add a note about granting access
mod_realdoc list of languages used
Other projects in C