RewriteLock is used with RewriteMap prg: function and defines a system-wide synchronization object for safe accessing external map programs. This directive can be used only once in a configuration, and applies to all RewriteMap prg: defined in it.
- per-server configurations
It requires only one argument. lockfile, is traditionally is the path to a file. However, in IIS Mod-Rewrite and Apache for windows, the locking synchronization object is a MUTEX, and therefore lockfile can be also either path to a non-existing file or any other plain name not related to the filesystem.