httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10518] New: - rewrite map type prg process dies at server startup
Date Fri, 05 Jul 2002 18:04:55 GMT
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=10518>.
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=10518

rewrite map type prg process dies at server startup

           Summary: rewrite map type prg process dies at server startup
           Product: Apache httpd-1.3
           Version: HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_rewrite
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: apache_bug@madmardy.com


server compiled with
./configure --prefix=/usr/local/apache --enable-module=most --enable-
shared=max --server-uid=nobody --server-gid=nobody
make && make install

In httpd.conf:

NameVirtualHost xxx.xxx.xxx.xxx

<VirtualHost xxx.xxx.xxx.xxx>
  ServerName bla.bla.com
  ServerAlias *
  RewriteEngine On
  RewriteMap  my-map  prg:/usr/local/apache/extra_code/rewrite_map.pl
  RewriteRule ^(.+) %{HTTP_HOST}$1
  RewriteRule ^www\.(.+)$ $1
  RewriteRule ^(.*)$  ${my-map:$1}
  RewriteLog logs/rewrite_log
  LogLevel debug
  RewriteLogLevel 9
</VirtualHost>


in rewrite_log:

166.xx.xx.xx - - [03/Jul/2002:16:18:52 -0600] [fp.0catch.com/sid#80c7d84]
[rid#80dc124/initial] (5) map lookup OK: map=my-
map key=fp.madmardy.com/ -> val=

When I run the map program from the command line it works correctly.  This same 
program works under apache 1.3.19 with no problem.  The working version gives 
the following output from ps auxf:

root       898  0.0  0.1  2680  608 ?        S    Jun16   0:29 httpd
root       925  0.0  0.2  2724 1180 ?        S    Jun16   0:04  
\_ /usr/bin/perl /usr/local/apache/extra_code/rewrite_map.pl
nobody     927  0.0  0.2  2920 1404 ?        S    Jun16   1:38  \_ httpd
nobody     928  0.0  0.2  2920 1400 ?        S    Jun16   1:39  \_ httpd
nobody     929  0.0  0.2  2920 1396 ?        S    Jun16   1:59  \_ httpd

But now the rewrite map process is gone.  I have also tried statically 
compiling without success.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message