Re: proxy_fcgi and PHP-FPM: error pages and config syntax

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux