In the /etc/apache/conf/apache.conf file I have the following (for VirtualHost): ThrottlePolicy none <Location /testip> SetHandler throttle-client-ip </Location> When I visit the page in the browser(lynx) I get: Alert!: Unexpected network read error; connection aborted. In the error_log file I then have the following: [Sat Sep 13 17:44:04 2003] [notice] Apache/1.3.28 (Unix) (Gentoo/Linux) PHP/4.3.2 mod_throttle/3.1.2 configured -- resuming normal operations [Sat Sep 13 17:44:04 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Sat Sep 13 17:44:04 2003] [notice] Accept mutex: sysvsem (Default: sysvsem) [Sat Sep 13 17:44:20 2003] [notice] child pid 27673 exit signal Segmentation fault (11) Reproducible: Always Steps to Reproduce: Machine already had mod_php and apache 1.3.28 installed: 1. emerge mod_throttle 2. ebuild /var/db/pkg/net-www/mod_throttle-3.1.2-r1/mod_throttle-3.1.2- r1.ebuild config 3. Edit /etc/conf.d/apache and change it to APACHE_OPTS=" -D PHP4 -D THROTTLE" 4. Add the following to /etc/conf.d/apache.conf (this server has no virtualhosts) <Location /testip> SetHandler throttle-client-ip </Location> 5. /etc/init.d/apache restart Actual Results: Visit http://127.0.0.1/testip with a web browser, the page does not display and generates the following in /var/log/apache/error_log [Sat Sep 13 10:09:51 2003] [notice] child pid 12353 exit signal Segmentation fault (11) Expected Results: Status display page with statistics per IP. I have PHP and THROTTLE in the /etc/conf.d/apache file.
Created attachment 17637 [details] strace of process that seg faults The process serves one request for another page (same site), before being asked for /testip.
Does it work with 1.3.27 ? This is quite possible related to the suexec defunct bug in 1.3.28 http://bugs.gentoo.org/show_bug.cgi?id=26632
could you try again when i check in the next apache-1.3.28-r1.ebuild which will have a patch for the suExec problem
should be fixed in apache-1.3.28-r1, thank you