<p>As a follow up to <a href="https://stackoverflow.com/questions/186900/tool-for-web-server-redirect-management">an earlier question</a> that attracted a whole zero answers, I'm wondering about the possibilities of allowing a web server (apache) to write to its own document root (Linux), in order to dynamically create meta-redirect files.</p>

<p>Of course, this sounds incredibly dangerous, and I'm wary of going the whole hog and granting the web-server user full write-access to its own docroot. Is there a more appropriate way of achieving this?</p>

What's usually done is to allow writes only to subdirectories, hopefully located in a noexec mounted partition.
That said, it seems to me that you should just create a set of
RewriteMap
directives to do your dynamic redirection, there's no need to write files in the document root to accomplish that.
I answered similarly in the
other question
, just for completeness.