Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 911C9200C16 for ; Thu, 26 Jan 2017 06:30:28 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 8FB17160B5A; Thu, 26 Jan 2017 05:30:28 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CB4A1160B4E for ; Thu, 26 Jan 2017 06:30:27 +0100 (CET) Received: (qmail 15769 invoked by uid 500); 26 Jan 2017 05:30:21 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 15759 invoked by uid 99); 26 Jan 2017 05:30:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jan 2017 05:30:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5C56418C8DA for ; Thu, 26 Jan 2017 05:30:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.38 X-Spam-Level: X-Spam-Status: No, score=0.38 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 1hya3GOjIfuW for ; Thu, 26 Jan 2017 05:30:20 +0000 (UTC) Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com [209.85.218.45]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id E61DF5F3BF for ; Thu, 26 Jan 2017 05:30:19 +0000 (UTC) Received: by mail-oi0-f45.google.com with SMTP id u143so130179267oif.3 for ; Wed, 25 Jan 2017 21:30:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=C44+fWHeeVwa4a60/9k9jbkcoy5wpX6eX4OJWrakum0=; b=Er+0b+/URTWVqAz9UAgEXCdwUCh0GxM25GHAZdmun+3gVJ8AFyx3AaHO9JMlZr+Sui octAfywh5puwUOFpGC7Qm2GoyMN5k3Gt9Jef7XA0l7Ovhyj6M8ElY3m/De6ek+XC3HcG Zq3XMhVWsjwuu3Qn4jvJiAZ+QtBylVCos26Kwdt/9P1m5lmX5a+WlY38MXZXEqbGSgE8 Plx09odnsiy6n8/Ka/6q9u9kYgCeOuo83Q7FQg7YSlxh/wXvi6kNLiQqPLXqr3GEIsHM VPXU/1c3L0K46k2+G7LkEGMPhuJRBKAGjqnNcD9xYu65BTsNU1wiEOWda/VfOAizeOgs y1Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=C44+fWHeeVwa4a60/9k9jbkcoy5wpX6eX4OJWrakum0=; b=PK6Iy2G5aSwfZbIFTKMAptYrB2Nb6V6RT/M1LAKjC+Dv2OfcV/hajTrDrqHU78CwOE n7wBt40RAH4cZYZvpF6poJMxy2YyBNFUpq6UHEncxnNFRrEVNswzu2YQXFOEvMu5wfzA 2I+cpPG0ztuW648mxVFEg6Gu2GIQHXkJn+1/1ICZ/RrDQ2g0FxKvIgQaZwZnbBAwFiq5 eHcWjGzn14lc0vuYMfIyGIIx7+qcy7SfPVQBqMLkjvqXCGm6OVXbhN3k9xQhQ1v/3Yid qhZL6mb6C4/51aspseH6hLKHSnHJCoVxFwguy3h/RETijXkES/5ESasSDndVBPB9TQmV g1ig== X-Gm-Message-State: AIkVDXKmt5qb4BAJChmLZdhmBv8vhmo3CgKB2l6+X5TcUBtix9d2/dtZt5ftPWcU4s+kOPyNh9YPT5EaS5Js9w== X-Received: by 10.202.229.11 with SMTP id c11mr529276oih.72.1485408612941; Wed, 25 Jan 2017 21:30:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.18.209 with HTTP; Wed, 25 Jan 2017 21:30:12 -0800 (PST) In-Reply-To: References: <9335c87a-ff39-5c0d-4d82-ba239b6e0248@gmail.com> <68B8CB99-D049-4C9D-80FC-A9BD24FAF37C@greenbytes.de> <6699836C-96A0-45AD-90A7-AF0894CB7F26@jaguNET.com> <8d174737-ae1a-34d7-dc89-a8393f91be37@gmail.com> <258f9933-4a2e-b0c7-c24b-97091612380c@gmail.com> <50400730-6125-46D5-AF9B-6E6FF6B51EB2@heroku.com> <6D6081EC-06D2-4E66-BB9B-60470748514B@jaguNET.com> <17F9EF18-9A4B-4DC4-9397-84CD2EF557AF@jaguNET.com> <3D1DF86E-8AC9-4667-A171-823BE78D4DE3@jaguNET.com> <4823FE27-717C-40C5-8603-0C51A5AAA649@jaguNET.com> <468CCCFC-2A3A-4B87-8BA3-EC9AD8D56547@jaguNET.com> From: Eric Covener Date: Thu, 26 Jan 2017 00:30:12 -0500 Message-ID: Subject: Re: Summary: Broken FastCGI with httpd To: Apache HTTP Server Development List Content-Type: text/plain; charset=UTF-8 archived-at: Thu, 26 Jan 2017 05:30:28 -0000 I'm testing your recent config and the config from https://github.com/apache/httpd/commit/cab0bfbb2645bb8f689535e5e2834e2dbc23f5a5#commitcomment-20393588 w/ htaccess that makes index.php act like a front controller. Lately I look at the output of the fakefpm.pl script I posted above, but was originally pointing at a simple fpm server. But since it's a 2.4.23 regression for fpm, I am looking for the minimum change, because there are just too many potential fastcgi servers we could be contacting. IOW why make other tweaks here w/o opt-in if the only report we have is the guy who is broken by the fcgi:// stripping? I'm just afraid we won't see the problems in synthetic tests. On Wed, Jan 25, 2017 at 11:37 PM, Eric Covener wrote: > Seems like w/ the update it's still a bogus PATH_INFO that fpm is correcting > > 'PATH_INFO' => '/foo.php/bar/baz/', > > I'm using this as the target from one of the old bug reports. > > #!/usr/bin/perl > use FCGI; > use Socket; > use FCGI::ProcManager; > use Data::Dumper; > > $num_args = $#ARGV + 1; > if ($num_args != 1) { > print "\nUsage: fcgi.pl \n"; > exit 1; > } > > $proc_manager = FCGI::ProcManager->new( {n_processes => 1} ); > $socket = FCGI::OpenSocket( $ARGV[0], 10 ); > $request = FCGI::Request( \*STDIN, \*STDOUT, \*STDERR, \%req_params, > $socket, &FCGI::FAIL_ACCEPT_ON_INTR ); > $proc_manager->pm_manage(); > if ($request) { > while ( $request->Accept() >= 0 ) { > $proc_manager->pm_pre_dispatch(); > print("Content-type: text/plain\r\n\r\n"); > print Dumper(\%req_params); > } > } > FCGI::CloseSocket($socket); > > On Wed, Jan 25, 2017 at 11:31 PM, Jim Jagielski wrote: >> OK... I just committed something that in the AddType/Action >> setup has reasonable values w/ php-fpm70 > > > > -- > Eric Covener > covener@gmail.com -- Eric Covener covener@gmail.com