[users] Re: Is it possible to evaluate .htaccess before proxying requests? (Apache 2.4.9)

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

 



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@xxxxxx>:
> 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@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>



-- 
 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@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