[users@httpd] ProxyErrorOverride on with PHP-FPM

2018-04-11 Thread Matthias Leopold
Hi, I'm trying to get rid of the message [proxy_fcgi:error] ... AH01071: Got error 'Primary script unknown\n' in error logs (LogLevel notice) when proxying to an php-fpm daemon and the requested php file doesn't exist. php-fpm config in VirtualHost is SetHandler

[users@httpd] php-fpm user other than webserver user?

2016-12-29 Thread Matthias Leopold
Hi, I hope this is an appropriate place for my question (also sent it to CentOS list): I'd like to know how others handle the setup of Apache httpd and PHP-FPM when the PHP-FPM user is different from the webserver user. This is the case in the default configuration of IUS PHP-FPM packages

Re: [users@httpd] httpd 2.4.23 stalling

2016-11-29 Thread Matthias Leopold
Am 29.11.2016 um 02:04 schrieb Frank Gingras: On 28/11/16 04:16 AM, Matthias Leopold wrote: hi, i'm using a self compiled httpd 2.4.23 with event MPM as a dedicated HTTPS reverse proxy to several backend services provided by oracle components. platform for this server is RHEL7 on a POWER7

[users@httpd] httpd 2.4.23 stalling

2016-11-28 Thread Matthias Leopold
hi, i'm using a self compiled httpd 2.4.23 with event MPM as a dedicated HTTPS reverse proxy to several backend services provided by oracle components. platform for this server is RHEL7 on a POWER7 LPAR. since a few weeks im having a problem that httpd is "stalling" from time to time under

[users@httpd] ProxyPass ttl and error messages on backend server

2016-08-03 Thread Matthias Leopold
hi, i'm running typo3 behind a reverse proxy. both frontend and backend servers are apache httpd on linux. now we moved the backend server from apache 2.2 mod_php PHP 5.3 Typo3 4.5 to apache 2.4 php-fpm PHP 5.6 Typo3 7.2 this brought unexpected woes with the reverse proxy, which had to be

Re: [users@httpd] ProxyPass ttl not working?

2016-07-28 Thread Matthias Leopold
Am 2016-07-27 um 14:01 schrieb Matthias Leopold: Hi, i'm reverse proxying from an apache 2.2 to an apache 2.4 server (both RHEL). proxy VirtualHost is SSL (SSLProxyEngine On, SSLProxyVerify none) on the proxy i'm seeing errors like proxy: Error reading from remote server returned by xxx

Re: [users@httpd] ProxyPass ttl not working?

2016-07-27 Thread Matthias Leopold
Am 2016-07-27 um 14:13 schrieb Nick Kew: On Wed, 27 Jul 2016 14:01:09 +0200 Matthias Leopold <matth...@leopold.priv.at> wrote: Check what headers are actually being exchanged between the proxy and backend (and from the Client). The keepalive timeouts are only relevant if all parties

[users@httpd] ProxyPass ttl not working?

2016-07-27 Thread Matthias Leopold
Hi, i'm reverse proxying from an apache 2.2 to an apache 2.4 server (both RHEL). proxy VirtualHost is SSL (SSLProxyEngine On, SSLProxyVerify none) on the proxy i'm seeing errors like proxy: Error reading from remote server returned by xxx (70014)End of file found: proxy: error reading status

[users@httpd] mod_proxy and DNS resolving

2016-05-18 Thread Matthias Leopold
hi, in the comment section of http://httpd.apache.org/docs/2.4/mod/mod_proxy.html someone asks: It is unclear from this documentation, when does Apache do DNS resolving of the origin server hostname? At each request? Does Apache do DNS caching? If yes, for how long? Does it honour TTL?

Re: [users@httpd] mod_proxy_fcgi connection reuse with PHP-FPM and UDS

2016-04-07 Thread Matthias Leopold
Am 2016-04-07 um 16:25 schrieb Eric Covener: On Fri, Apr 1, 2016 at 10:26 AM, Matthias Leopold <matth...@leopold.priv.at> wrote: I'd like to use it with a unix domain socket, the "Proxy via Handler" example uses the "enablereuse" directive, the "PHP-FPM with UDS

[users@httpd] mod_proxy_fcgi connection reuse with PHP-FPM and UDS

2016-04-01 Thread Matthias Leopold
Hi, can someone please explain to me what the benefits/caveats of "connection reuse" in mod_proxy_fcgi with PHP-FPM are? I'm referring to the official documentation http://httpd.apache.org/docs/2.4/mod/mod_proxy_fcgi.html. I'd like to use it with a unix domain socket, the "Proxy via

[users@httpd] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server

2012-03-29 Thread Matthias Leopold
hi, i have a setup with mod_fcgid (2.3.6) and php-cgi (and suexec) as a shared hosting server running debian 5. now i have problems with long running php-cgi processes where i get the above mentioned (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server in

[us...@httpd] php in .html documents when using php as cgi

2010-06-21 Thread Matthias Leopold
hi, i'm using mod_fcgid to serve .php pages in a setup similar to the one layed out on http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html (+ suexec). now i realized that i can't use php in .html documents like i could when i was using mod_php. is there a setup that makes it possible to

[us...@httpd] mod_fcgid question

2010-03-18 Thread Matthias Leopold
hi, i'm using mod_fcgid to run php as a suexec cgi on a debian lenny system. mod_fcgid version is 2.2 (from debian). although everything seems to work basically i'm seeing lines like this [warn] mod_fcgid: stderr: Cache unable to open file for writing: cache/956287ab2d93bc91ee48c8b4204c93f1 in

Re: [us...@httpd] mod_fcgid question

2010-03-18 Thread Matthias Leopold
Jeff Trawick schrieb: On Thu, Mar 18, 2010 at 8:22 AM, Matthias Leopold matth...@aic.at wrote: hi, i'm using mod_fcgid to run php as a suexec cgi on a debian lenny system. mod_fcgid version is 2.2 (from debian). although everything seems to work basically i'm seeing lines like this [warn

[us...@httpd] disabling builtin modules

2009-03-25 Thread Matthias Leopold
hi, is it possible to disable a builtin module (- php) in apache 1.3.x and use a dynamic module instead? recompiling apache is not an option for various reasons thx for advice matthias -- Mit freundlichen GrĂ¼ssen Matthias Leopold System Network Administration Streams Telecommunications GmbH

Re: [us...@httpd] disabling builtin modules

2009-03-25 Thread Matthias Leopold
this helps and sorry if not what you're after. Rich -Original Message- From: Matthias Leopold [mailto:matth...@aic.at] Sent: 25 March 2009 11:27 To: users@httpd.apache.org Subject: [us...@httpd] disabling builtin modules hi, is it possible to disable a builtin module