On Wednesday 2012-02-22 17:56, Mark Montague wrote:
>>>>> RewriteRule \.php$
>>>>> proxy:fcgi://localhost:8002/%{DOCUMENT_ROOT}/%{SCRIPT_FILENAME}
>>>>>
>>>> RewriteRule ^/?(.*\.php)$ fcgi://127.0.0.1:9003/www/wp3/wordpress/$1 [P,L]
>>
>> NB: When using fcgi://etc. or proxy:fcgi://etc. as substitution URL
>> together with [P], the debug log of an apache 2.2 (with
>> mod_proxy_fcgi backported) shows that the construction is flawed.
>> Maybe this has been corrected by the 2.3/2.4 series?
>
>Nothing I have said is intended for the 2.2 series[...]
>I sort of assumed that the two PHP-FPM threads were
>occasioned by people trying out 2.4.1

I still have to put up with 2.2 until $distro makes a distro release
again :)

Did you try accesing FPM over unix socket? The way I see it, the
mod_proxy and/or libapr source code do not have any provisions for
parsing anything but, and resolving to, IPv4/IPv6 sockaddrs.
(Would have loved to use proxy:fcgi://%2Fvar%2Frun%2Ffpm.sock/$1 in
the rewrite rule.)

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to