Re: [INTERNALS-WIN] PHP and mod_proxy_fcgi on Window

From: Date: Mon, 10 Sep 2012 07:59:02 +0000
Subject: Re: [INTERNALS-WIN] PHP and mod_proxy_fcgi on Window
References: 1 2 3  Groups: php.internals.win 
Request: Send a blank email to internals-win+get-905@lists.php.net to get a copy of this message
hi! Then please report an issue to bugs.php.net and attach the patch to it, easier to track for the FPM maintainers. Cheers, On Sun, Sep 9, 2012 at 8:54 PM, Jiri Tulach - Position <tulach@position.cz> wrote: > Hi! > And what does it mean? The fact that FPM is not available on Windows is > irrelevant because the patch is still valid. > > Cheers, > J. > > Dne 8.9.2012 11:46, Pierre Joye napsal(a): > >> hi! >> >> On Fri, Sep 7, 2012 at 4:16 PM, Jiri Tulach - Position >> <tulach@position.cz> wrote: >>> >>> Hello, >>> I found a problem with mod_proxy_fcgi on Windows when SCRIPT_PATH >>> contains >>> full path with drive letter. >>> >>> Imagine this Apache configuration: >>> >>> ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:300/C:/Scripts/test/$1 >>> >>> Unfortunately this is translated as: >>> >>> /C:/Scripts/test/somescript.php >>> >>> which is not a valid file. >>> >>> I made a simple patch to sapi/fpm/fpm/fpm_main.c which detects absolute >>> path >>> with drive letter. If found it strips leading slash. >> >> It should be againt the (fast)cgi SAPI. FPM is not supported on Windows. >> >> Cheers, > > -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org

« previous php.internals.win (#905) next »