Questions tagged [mod-proxy-fcgi]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

Apache mod_proxy_fcgi doesn't pass rewritten URI

Using an up-2-date RHEL-7 with the supplied Apache httpd (httpd-2.4.6-93.el7) I have an fcgi service that has been working well for a while. Recently I've needed to add a new Apache in front of it ...
0
votes
0answers
39 views

Use captured wildcard subdomain to direct requests to specific PHP-FPM Pool Apache

The scenario is that I sysadmin a host with shared SSH access backed by LDAP user accounts. Each user gets a home folder in /home/users. We use Apache currently with mod_php for users to be able to ...
0
votes
0answers
35 views

php-fpm using mod proxy fcgi resulting in 504 for anything over 60s

We're using php-fpm and mod_proxy_fcgi for a php application. If the php process takes longer than 60s it will bring back a 504 status. I've had a play around with the Timeout settings and cannot get ...
3
votes
0answers
173 views

Shared hosting: Apache RewriteRule [P] flag security concern

I want to setup PHP-FPM with Apache in a shared hosting environment. The recommended way is to use mod_proxy_fcgi. Each customer has his own FPM pool, running PHP processes under his own system user. ...
3
votes
1answer
918 views

Apache PHP-FPM weird responses with Proxy enablereuse=on

When enabling <Proxy ... enablereuse=on max=10> I start receiving strange responses. When refreshing the current page, the main request loads different responses; like a blank page, responses ...
2
votes
1answer
1k views

Apache and PHP-FPM security with mod_proxy_fcgi

I use PHP-FPM in a shared hosting configuration. Each FPM pool runs as a different user. Apache runs as www-data. Apache connects via a socket using mod_proxy_fcgi. I allow users to use .htaccess ...
1
vote
1answer
370 views

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 ...
2
votes
0answers
739 views

Apache 2.4 + PHP-FPM + Chromelogger (how to increase HTTP header length limit?)

I have a running Apache 2.4 + PHP-FPM setup. There is one edge case though, when this setup fails - when using Chromelogger. Chromelogger is a server to client debugging tool, which sends it's data ...
1
vote
2answers
4k views

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 ...
0
votes
1answer
531 views

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 ...
3
votes
1answer
3k views

Rewriting URLs while using mod_proxy_fcgi and PATH_INFO ends up with error 404

I have a virtual host on Apache 2.4.25 with PHP-FPM 7.1.4 connected via mod_proxy_fcgi as follows: <VirtualHost *:80> ServerName example.com DocumentRoot /srv/www/example.com <...
1
vote
1answer
658 views

basic authentication failing with mod-proxy-fcgi and php7.0-fpm

Ubuntu 16.04 LTS running on AWS instance. Apache 2.4.18 / PHP7.0-fpm Problem is with basic-auth. I'm trying to pw-protect /var/www/html/admin//. I find that all non-php files are protected - but ....
0
votes
1answer
623 views

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 ...
2
votes
1answer
10k views

proxy_fcgi:error (70008)Partial results are valid but processing is incomplete. AH01075

I have a server running with: Ubuntu 16.04 Apache 2.4.18 WORKER-MPM PHP 7.0.8-0ubuntu0.16.04.3 PHP-FPM OPcache 7.0.8-0ubuntu0.16.04.3 On the browser there is an ajax script that each 5 sec sends a ...
2
votes
2answers
15k views

authz_core keeps denying access

I've configured a webserver more or less according to this tutorial (https://wiki.apache.org/httpd/PHP-FPM) and I can't get PHP to work. HTML-files are served fine. I get the following error message: ...
2
votes
0answers
376 views

php-fpm chroot setup with apache mod_proxy_fcgi

i'm looking for recent instructions on how to set up apache with mod_proxy_fcgi and chrooted php-fpm. i was successful for the whole process except for the chroot part. i'm trying to use the most ...
2
votes
2answers
4k views

Setting php_value in VirtualHost on Debian Squeeze Apache 2.4.10 + mod_proxy_fcgi + php-fpm?

After updating our server to Debian Jessie (8.3), I switched Apache 2.4.10 from mpm_worker/mod_php to mpm_event/proxy_fcgi/php-fpm. I have the handoff configured for all virtual hosts as such: # cat ...
4
votes
1answer
2k views

Passing Apache variable into SetHandler directive

I'm trying to have dynamically determined Unix socket used for different separated PHP "apps" (different sockets lead to different PHP-FPM pools) on my Apache (2.4.18) server (using mod_proxy_fcgi): &...
2
votes
3answers
1k views

Apache exit signal Segmentation fault when mod_rewrite and fcgi are used together

I am using Ubuntu 15.04, Apache/2.4.10. I enabled mod_rewrite and mod_proxy_fcgi. My apache config for fcgi is: ProxyPassMatch ^/(.+\.(hh|php)(/.*)?)$ fcgi://127.0.0.1:9000/var/www/html/myapp/$1 ...
0
votes
0answers
100 views

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?
1
vote
1answer
849 views

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/...
4
votes
4answers
31k views

How can I fix recurring PHP 503 Errors on my Apache-mod_proxy_fcgi-PHP-FPM Server?

i'm having trouble with my php-fpm setup. Maybe you guys can point me in the right direction. First off, everything is working fine. But every now and then, I'll get 503 Errors. Those errors are gone ...
1
vote
2answers
10k views

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 ...
1
vote
3answers
4k views

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 ...
0
votes
0answers
468 views

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-...
3
votes
5answers
9k views

apache 2.4, mod_proxy_fcgi not honouring .htaccess, work around needed

I am using apache 2.4.7 with mod_proxy_fcgi for purpose of passing through php to php-fpm (this will be used for shared hosting environment). The htaccess works fine for non php files, but once it hit ...
1
vote
2answers
981 views

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 ...
3
votes
2answers
17k views

Using ProxyPassMatch for FastCGI, results in connection refused on port 9000

I'm not certain if this is a php, apache, or iptables configuration issue but I receive the following error when trying to access a .php file. Please let me know if you need more information to help ...