Organizational Research By

Surprising Reserch Topic

apache RewriteLock hangs Apache on re-start when added to an otherwise working Rewrite / Rewritemap

asked Sep 22, 2013 in APACHE by rajesh
0 votes

Related Hot Questions

1 Answer

0 votes

Apache hangs if you define more than one RewriteLock directives or if you use it in a VHOST config.

The RewriteLock should be specified at server config level and ONLY ONCE. This lock file will be used by all prg type maps. So if you want to use multiple prg maps, I suggest using an internal locking mechanism, for example in PHP there is the flock function, and simply ignore the warning apache writes in the error log.

answered Sep 22, 2013 by rajesh