You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Lars Eilebrecht <La...@unix-ag.org> on 1998/07/10 19:26:15 UTC

[PATCH] RewriteLock permissions

Hi,

mod_rewrite creates the RewriteLock in init_module() with mode 644...
The result is a file which is only writeable by the user of the
root process and therefore the childs have no write access to the lockfile.
The error log is flooded with "Permission denied: mod_rewrite: Child could
not open RewriteLock file".

Calling chown() after the file was created (and Apache was started as root)
should fix the problem (see attachment).


ciao...
-- 
Lars Eilebrecht                              - Foolproof operation:
sfx@unix-ag.org                          - No provision for adjustment.
http://www.home.unix-ag.org/sfx/