Bug 115379
Summary: | pcre conflict between httpd and php | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Joe Orton <jorton> |
Component: | httpd | Assignee: | Joe Orton <jorton> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | CC: | allen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-03-23 09:48:57 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Joe Orton
2004-02-11 17:29:44 UTC
I worked around this by simplifying the regular expressions I was using. The new regexps work fine on apache2, but fail on our older boxes (1.3.2x). Can you give an example .htaccess which failed? sure: This one fails: RewriteEngine On RewriteCond %{HTTP_REFERER} !^http(s)?://([a-z0-9-]+.)*falconstudios.com/ [NC] RewriteCond %{HTTP_REFERER} !^http(s)?://([a-z0-9-]+.)*joshweston.com/ [NC] RewriteCond %{HTTP_REFERER} !^http(s)?://66.28.50.194/ [NC] RewriteRule /* http://www.falconstudios.com/error.htm [R,L] This one is fine: RewriteEngine On RewriteCond %{HTTP_REFERER} !^http(s)?://([a-z0-9-.])+falconstudios.com/ [NC] RewriteCond %{HTTP_REFERER} !^http(s)?://([a-z0-9-.])+joshweston.com/ [NC] RewriteCond %{HTTP_REFERER} !^http(s)?://66.28.50.194/ [NC] RewriteRule /* http://www.falconstudios.com/error.htm [R,L] A request with what Referer header will trigger the failure? We're having trouble reproducing the problem here. (the presence of and solution to the bug are clear but we'd like to find a precise repro case so we can ensure the fix is tested properly) Here is an apache log of a request iwth the source IP stripped. [13/Feb/2004:08:23:57 -0800] "GET /pix/EFF1C7B9D3A08/MVP062/Watermarked/Thumbnailed/70/5711_T.jpg HTTP/1.1" 200 3498 "http://www.falconstudios.com/falconxxx/showGalleryList.do" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) We couldn't manage to reproduce this problem unfortunately. If you could try the test update packages in which httpd uses the system pcre library: http://people.redhat.com/jorton/Taroon-httpd/ with the example configuration which gave a segfault that would be great. An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2004-084.html |