httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ryo takatsuki <ryotakats...@gmail.com>
Subject [users] Re: [users@httpd] Is it possible to evaluate .htaccess before proxying requests? (Apache 2.4.9)
Date Tue, 03 Jun 2014 07:32:30 GMT
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 <Tobias.Adolph@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


Mime
View raw message