Questions tagged [mod-proxy-fcgi]

27 questions
1
vote
1 answer

Apache2 proxy fastcgi conditional rewrite with proxy pass match and cookie

I currently have two projects: /home/piotrek/Vhosts/sf.local/web/app_dev.php /home/piotrek/Vhosts/sf2.local/web/app_dev.php Both have same repo but are set to two different branches. I have vhost for first site: ServerName…
piotrekkr
  • 226
  • 2
  • 9
1
vote
2 answers

Debian 9 Stretch LAMP Setup With Sandboxed Users using FPM

I'm trying to set up Apache and FPM on Debian 9 the way we had previously done with Debian 7 and 8. Due to, I believe, the deprecation of mod_fastcgi in favor of mod_proxy_fcgi in Apache 2.4 and the subsequent removal of it from the Debian 9 apt…
Josh
  • 143
  • 2
  • 11
1
vote
1 answer

Permissions issue: why is user nobody needed in my second php-fpm pool?

I am running FreeBSD 10.2 with a custom-compiled Apache 2.4.17 with php-fpm. The default pool ([www], almost a stock php-fpm setup) ran on user/group nobody/nobody. Apache runs on user/group daemon/daemon. It works fine connecting to a socket with…
1
vote
2 answers

apache 2.4 + php-fpm + mod_proxy_fcgi + alias

I have the following config: Apache 2.4, php-fpm, mod_proxy_fgci. The problem is that my config is not working with the alias directive: I've installed phpredmin, but the alias directive is not working with ProxyPass. Can someone push me in the…
Carl
  • 111
  • 1
  • 1
  • 5
1
vote
3 answers

How to get mod_proxy_fcgi on CentOS/Red Hat 6 with Apache 2.2?

I am trying to get Apache 2.2 + php-fpm to work on CentOS 6.5 (and Red Hat later). I want to use mod_proxy_fcgi to do this, but I can't find a proper way to get it. I tried looking for repository including it, but I only found it packaged with…
Gagaro
  • 113
  • 1
  • 4
1
vote
2 answers

PHP-FPM and ProxyPass disables the possibility to use FilesMatch?

i'm using PHP-FPM and mod_proxy_fcgi for serving PHP files. The system is blazing fast and works flawlessly except i'm not able to use the FilesMatch directive in Apache. Well that makes sense because the proxypass is defined to take over any php…
chrisK
  • 61
  • 1
  • 1
  • 9
0
votes
1 answer

PHP is not being executed by proxy_fcgi and php_fpm on Zabbix frontend

I have installed php7.0-fpm and enabled proxy_fcgi mod for Zabbix frontend. However when I try to get access from any page I get PHP source code of that page instead of normal page. My configs are the next:…
user54
  • 299
  • 1
  • 3
  • 12
0
votes
1 answer

Apache mod_proxy_fcgi: One proxy worker per vhost?

I've been setting up a server using Apache 2.4, mpm_event, mod_proxy_fcgi and php_fpm. In the mod_proxy_fcgi docs (https://httpd.apache.org/docs/2.4/mod/mod_proxy_fcgi.html) it mentions "For performance reasons, you will want to define a worker…
0
votes
0 answers

mod_proxy_fcgi missing [Centos6]

I comiled apache and php from source but now mod_proxy_fcgi missing here: /usr/local/apache2/modules/ any solution for this?
0
votes
0 answers

Debian's apache configuration. fcgid or proxy fastcgi + php fpm

I'm trying to figure out, what would be better solution. I have a server with arout 10 vhosts. Now, its configured like in this tutorial: http://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-debian-squeeze but I'm wondering if…
0
votes
0 answers

brotli on apache with proxy_fcgi for PHP-FPM is not used

I'm running an apache 2.4.54 with broti enabled. brotli configuration as seen below and loaded before default deflate configuration. $ cat /etc/apache2/mods-available/brotli.conf AddOutputFilterByType BROTLI_COMPRESS…
M Klein
  • 101
  • 1
0
votes
1 answer

Getting 503 with apache proxy_fcgi_module [SOLVED]

I'm using CentOS 9 Stream on a VM, trying to setup my apache server to be able to show php content on the web. The server works fine when its just html, but I'm getting these errors (503 in the browser) when I try it with php. My httpd.conf is…
bejgli
  • 3
  • 4
1
2