Skip to main content
Unix & Linux

Questions tagged [apache-httpd]

Use this tag for questions related to the Apache HTTP server (any version, but make sure to provide Apache version numbers in the question unless not relevant). Non-apache web server-related questions should use the tag: webserver.

Filter by
Sorted by
Tagged with
0 votes
2 answers
43 views

Setting up Apache with Certbot/Let’s Encrypt but keep it offline until fully configured

I am setting up an Apache web server and running into a chicken-and-egg problem: I don’t want to expose the system to the Internet until it is fully configured (which includes certain security ...
0 votes
1 answer
51 views

Apache error "AH00016: Configuration Failed" after Debian 9 (stretch) to 10 (buster) upgrade

I upgrade Debian Linux 9 (stretch) to 10 (buster). Now I get Apache error AH00016: Configuration Failed in Apache error.log. The Apache service is not starting because of this error. The Apache SSL ...
0 votes
0 answers
41 views

Apache force transfer-encoding chunked after update to version 2.4.62

I'm running Apache with PHP-FPM on a RHEL 9 server. After updating Apache from version 2.4.57 to 2.4.62, all HTTP responses now include the Transfer-Encoding: chunked header, even when the PHP script ...
0 votes
0 answers
40 views

Apache2 PHP error_log() doesn't work when called in some PHP code

On my Linux Ubuntu system I run apache2 web server in the context of a PHP based web application. phpinfo() reports the following error_log /opt/unetlab/data/Logs/php_errors.txt I.e. error_log() is ...
0 votes
2 answers
97 views

Troj/PHPShel-CE and PHP/Agent-BJNA trojan

I'm currently dealing with a real threat: the trojans Troj/PHPShel-CE and PHP/Agent-BJNA showed up on my system. I've decided to move to another provider – the first server IP was already blacklisted, ...
2 votes
5 answers
419 views

How to replace apache directory config with sed?

I'm trying to replace a Directory option from apache configuration with sed replace command, but I cannot understand why it doesn't work; it changes nothing. What I'm missing? This is the config ...
Tobia's user avatar
  • 131
1 vote
1 answer
33 views

AddType not respected by browser

UPDATE learning that application/javascript has been deprecated, this has now been updated to read: text/javascript. Issue persists. I have verified that this is not an actual 404. a file of that ...
0 votes
0 answers
31 views

Apache: rewrite URI path to (canonical) mixed case version and load actual content via an Alias?

We need to do some URI mangling for some web content that (for historical reasons) has been promoted using mixed case URIs. The address is www.domain.invalid/ACRONYM/pROJECT (with various pages ...
0 votes
1 answer
51 views

Apache: How do I redirect all userdir user web spaces to a different server?

We want to move our user web spaces (eg, www.domain.invalid/~usersite) to a different server (webhomes.domain.invalid/~usersite), but we want to ensure that existing incoming links and bookmarks get ...
0 votes
0 answers
37 views

How to trace recvfrom and sendto syscall each time apache2/httpd handle incoming http request?

So, I decided to start learn about system call with strace and want to observe network-related system call on apache2 processes, here's how I attach it: pidof -s apache2 pstree -sTp <pid-from-pidof&...
1 vote
0 answers
75 views

postinst method to stop apache from listening on port 80

My work has a number of packaged internal tools that Depends: apache2. None use port 80. They all install: Depends: apache2 Deploy a site (e.g. /var/www/foo/index.html) Deploy a site configuration (...
1 vote
0 answers
160 views

Error logs filling up with Client AH02027/AH2026: Failed to release SSL session cache lock

My error_log is filling up with tons of entries like: www.mine.com [Sun Dec 29 09:29:59 2024] [warn] [pid 903933] ssl_engine_mutex.c(105): (22)Invalid argument: [client AH02027: Failed to release SSL ...
0 votes
0 answers
168 views

Apache 2.4 keeps writing in old log file despite logrotate restart

I am using logrotate on RHEL 9 to rotate access logs of an Apache 2.4 (actually IBM HTTP Server) running as root. The config I use is a series of the following for each access.log file: <HTTPServer ...
1 vote
1 answer
50 views

Fedora 40 - Apache Perl CGI - Open for writing fails

Last week, I upgraded my Linux file server from Fedora 39 to Fedora 40, and several CGI applications written in Perl stopped working. I first noticed it when Foswiki could not show any pages, because ...
0 votes
1 answer
63 views

Apache ServerName with protocol

I have this custom.conf for a Apache Docker container ServerName https://staging.smartreparatur.at # Enable Gzip compression (Deflate) <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE ...

15 30 50 per page
1
2 3 4 5
...
120

AltStyle によって変換されたページ (->オリジナル) /