https://issues.apache.org/bugzilla/show_bug.cgi?id=47215
Summary: mod_substitute doesn't work if more than one
substitute is specified with default options
Product: Apache httpd-2
Version: 2.2.11
Platform: PC
OS/Version: Linux
Status: NEW
Severity: blocker
Priority: P2
Component: mod_substitute
AssignedTo: [email protected]
ReportedBy: [email protected]
OS: RHEL5.3 i386/x86_64
httpd-2.2.11
>From httpd.conf:
LoadModule substitute_module modules/mod_substitute.so
<Location />
AddOutputFilterByType SUBSTITUTE text/html
Substitute "s|you|you+|"
Substitute "s|HTTP|HTTP+|"
</Location>
[r...@test-el5-x86_64 apache]# wget http://10.60.180.30/
--18:13:23-- http://10.60.180.30/
Connecting to 10.60.180.30:80... connected.
HTTP request sent, awaiting response... No data received.
httpd process eats all available memory and exit with segmentation fault:
[Mon May 18 16:30:33 2009] [notice] child pid 13757 exit signal Segmentation
fault (11), possible coredump in /tmp
If I use 'q' flag all works fine:
LoadModule substitute_module modules/mod_substitute.so
<Location />
AddOutputFilterByType SUBSTITUTE text/html
Substitute "s|you|you+|q"
Substitute "s|HTTP|HTTP+|q"
</Location>
httpd.conf, strace log, core file will be attached.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]