DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20312>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20312

mod_rewrite, RewriteLock permissions failure

           Summary: mod_rewrite, RewriteLock permissions failure
           Product: Apache httpd-2.0
           Version: 2.0.46
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_rewrite
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


mod_rewrite, RewriteLock directive in global scope 
does not chown lockfile ownership to the User/Group
set. 

This problem seems similar to what has been resolved before.

permissions on Lockfile:

-rw-------   1 root  wheel       0 May 28 21:55 Hacker.lock

Snippet from config-file

Listen 0.0.0.0:80
ServerRoot /usr/local/SGN-Apache
DocumentRoot /usr/local/SGN-Apache/htdocs

User  nobody
Group nogroup

ServerTokens Prod
ServerSignature Off

# We put some local CGI-s here, mainly to kill other users.
ScriptAlias /cgi-bin/ "/usr/local/SGN-Apache/cgi-bin/"

# This will collect and aggregate all logs on the main PEN-Server
#CustomLog "|/usr/local/bin/penlog 10.240.24.42 10000" common
LogFormat "\"%{X-Forwarded-For}i\" %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" clustered
LogFormat "\"%{X-Forwarded-For}i\" %l %u %t \"%r\" %>s %b" error-clustered

RewriteLock /usr/local/SGN-Apache/conf/Hacker.lock


Output in log:

[Wed May 28 21:19:23 2003] [crit] (13)Permission denied: mod_rewrite: could not
init rewrite_mapr_lock_acquire in child
[Wed May 28 21:19:23 2003] [crit] (13)Permission denied: mod_rewrite: could not
init rewrite_mapr_lock_acquire in child
[Wed May 28 21:19:23 2003] [crit] (13)Permission denied: mod_rewrite: could not
init rewrite_mapr_lock_acquire in child
[Wed May 28 21:19:23 2003] [crit] (13)Permission denied: mod_rewrite: could not
init rewrite_mapr_lock_acquire in child
[Wed May 28 21:19:23 2003] [crit] (13)Permission denied: mod_rewrite: could not
init rewrite_mapr_lock_acquire in child

OS:

FreeBSD obelix.sgn.sca.se 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Apr  3
19:57:53 CEST 2003    
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/SGN-PEN-APACHE  i386

Apache:
bash-2.05b# /usr/local/SGN-Apache/bin/apachectl -V
Server version: Apache/2.0.46
Server built:   May 28 2003 21:26:22
Server's Module Magic Number: 20020903:3
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses disabled)
 -D APR_USE_FLOCK_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/usr/local/SGN-Apache"
 -D SUEXEC_BIN="/usr/local/SGN-Apache/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

Compiled in modules

bash-2.05b# /usr/local/SGN-Apache/bin/apachectl -l
Compiled in modules:
  core.c
  mod_access.c
  mod_auth.c
  mod_cache.c
  mod_disk_cache.c
  mod_include.c
  mod_log_config.c
  mod_env.c
  mod_expires.c
  mod_headers.c
  mod_usertrack.c
  mod_setenvif.c
  mod_proxy.c
  proxy_connect.c
  proxy_ftp.c
  proxy_http.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_asis.c
  mod_cgi.c
  mod_vhost_alias.c
  mod_negotiation.c
  mod_dir.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_rewrite.c
  mod_so.c

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to