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
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
Am 16.05.2014 18:47, schrieb Eric Covener:
You could try mod_rewrite in directory context.
This configuration worked in our environment, .htaccess-files are evaluated
(thanks a lot to Eric Covener for his suggestion):
Directory /path/to/htdocs
Rewrite Engine On
RewriteRule ^(.*\.php)$
On Tue, May 13, 2014 at 11:51 AM, Tobias Adolph tobias.ado...@lrz.de wrote:
is the intended behaviour of ProxyPass(Match)-Directives to ignore .htaccess
files?
Yes, proxy directives stop the URL from being mapped to any location
on disk, so no .htaccess in any directory is applicable.
You
Hi all,
is the intended behaviour of ProxyPass(Match)-Directives to ignore
.htaccess files?
And is there any way to change this?
Version used: Apache httpd 2.4.9
Operating System: SUSE Linux Enterprise Server 11.3 (x86_64)
Context:
PHP is enabled via mod_proxy(_fcgi), but using this