Unanswered Questions
2,544 questions with no upvoted or accepted answers
6
votes
2
answers
3k
views
Apache2 stops after system graceful-restart
System's effected: Ubuntu 16.04, Ubuntu 18.04, not 14.04.
Frequency: Approx. around 24 - 36 hours.
[Wed May 08 03:44:25.964597 2019] [mpm_prefork:notice] [pid 7670] AH00171: Graceful restart ...
6
votes
1
answer
29k
views
Apache reverse proxy timeout in 60 seconds
I have Apache Reverse proxy server which proxies request to my internal Apache server. I am using Apache version 2.4 on Linux platform.
I encountered timeout page and HTTP ERROR 504 whenever back-end ...
6
votes
0
answers
4k
views
How do I allow users to override X-Frame-Options when using Apache + PHP-FPM?
I have an Ubuntu 14.04 server running Apache + PHP-FPM + FastCGI, serving user home pages. For security, I have enabled in Apache's configuration:
Header set X-Content-Type-Options: "nosniff"
Header ...
6
votes
1
answer
3k
views
How to get Mod_pagespeed to output compressed (gzip) css?
Ubuntu 14.04
Apache 2.4.7
php-FPM 5.5.9
Using latest stable Pagespeed Module for Apache (1.9.32.3-4448).
I'm in the process of optimizing a WordPress website for speed (bandwidth and rendering).
...
5
votes
0
answers
8k
views
Intermittent proxy error in Apache: "Partial results are valid but processing is incomplete" with "AH01110: error reading response"
I'm using Apache 2.4.43 on CentOS 7.8 with Varnish 6 and PHP-FPM to serve a Magento 2 website.
Varnish listens on port 80. Apache listens on 8080 to serve content to Varnish, and also port 443 which ...
5
votes
0
answers
3k
views
PHP-FPM: pm.process_idle_timeout for PM = static or dynamic
I'm working with CentOS 8 and PHP-FPM setting for PM = static or dynamic does not allow an option for pm.process_idle_timeout.
; The number of seconds after which an idle process will be killed.
; ...
5
votes
0
answers
125
views
What could cause a LAMP server to perform poorer than my laptop?
I'm running a WEB application (PHP + MariaDB) for my company, developing on my laptop and running the production version on a dedicated server.
Recently, I've started to measure performance and ...
5
votes
1
answer
2k
views
Apache2.4 ProxyPass exception inside Location block not working
While trying to get the Let's Encrypt Certbot to work on a local server that hosts reverse-proxied content, I am unable to get the local exception working inside a Location block. httpd.conf snippet:
...
5
votes
0
answers
2k
views
Latency (wait ttfb) on EC2
My application is crawling a website. I use this crawler :
https://github.com/rfussien/leboncoin-crawler
On my dev environment, the latency is acceptable (3-4 sec) but on my prod server (ec2 T2.micro ...
5
votes
1
answer
1k
views
How to prevent browser password prompts when no Active Directory single-sign-on?
We have single-sign-on working on an internal website, with Apache and mod_auth_kerb ... except users without the relevant browser config are getting password prompts instead of an error page.
Users ...
4
votes
0
answers
271
views
Is DeflateAlterETag supported in Apache 2.4.x
Apache's documentation for mod_deflate appears to state that DeflateAlterETag is supported from Apache version 2.4.42.
Our Apache webserver (compiled on Solaris by our corporate IT as of 2020-09-23) ...
4
votes
1
answer
3k
views
PHP7.3-FPM with Apache: Unknown script request execution timed out
I configured Apache 2.4 MPM Event with PHP7.3-FPM on a pretty busy web server as follows:
Timeout 90
<Proxy "unix:/run/php/php7.3-fpm.sock|fcgi://php-fpm">
ProxySet disablereuse=on timeout=...
4
votes
0
answers
633
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. ...
4
votes
0
answers
2k
views
Are there any known common causes of "Cannot kill process: Success!" in error.log?
Operating system: CentOS Linux release 7.6.1810 (Core)
Error log: /var/log/httpd/error.log
Apache version: Apache/2.4.6
In attempting to debug a PHP cron task, I am seeing some segfaults in error....
4
votes
0
answers
6k
views
How do I do a correct reverse-proxy to a Redis instance?
I'm running an application called Ambar on a (Samba)fileserver. I want users in my network to be able to search for documents freely, and securely. Since Ambar runs on HTTP, and the server already has ...