You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ryo takatsuki <ry...@gmail.com> on 2014/06/03 09:32:30 UTC
[users] Re: [users@httpd] Is it possible to evaluate .htaccess before
proxying requests? (Apache 2.4.9)
Hi,
You could try this:
<Proxy "unix:/var/run/php-fpm.sock|fcgi://backend-fpm" timeout=300>
</Proxy>
<Directory "/path/to/htdocs" >
Rewrite Engine On
RewriteRule ^(.*\.php)$ fcgi://backend-fpm/%{REQUEST_FILENAME} [P]
</Directory>
Best regards,
Juanjo.
2014-05-27 12:45 GMT+02:00 Tobias Adolph <To...@lrz.de>:
> Hello everybody,
>
> isn't there any solution?
>
> Am 19.05.2014 13:30, schrieb Tobias Adolph:
>
>>
>> Is there any way to enable Proxying to a fcgi-daemon listening on a unix
>> domain socket
>> using RewriteRule?
>>
>
> Thanks in advance!
>
> Kind regards,
> Tobias Adolph
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
--
I've seen things you people wouldn't believe.
Attack ships on fire off the shoulder of Orion.
I watched C-beams glitter in the dark near Tannhauser Gate.
All those moments will be lost in time like tears in rain.
Time to die.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org