Skip to main content

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.

0 votes
1 answer
35 views

Public DNS Record local override using BIND9 CNAME

I have cPanel & WHM v130.0.14 STANDARD running in an EC2 instance. Trying to setup a reverse proxy with Apache2 by setting a CNAME some.example.com (not the real one) to forward the request to api....
Rfroes87's user avatar
  • 133
1 vote
0 answers
25 views

AH01477: lua: Failed to obtain lua interpreter for entry function

I upgraded my web server from Ubuntu 22.04 to 24.04. During that process, it uninstalled my Apache web server. No big problem, I simply reinstalled it. However, now I can not use my Lua hook, leading ...
Raven's user avatar
  • 843
3 votes
1 answer
478 views

Apache HTTP Server cannot access home directory

I have few different sites in the /home directory. It worked before the update, but now the Apache HTTP Server cannot access them. I get the error below: Permission denied: [client 127.0.0.1:58170] ...
Michas's user avatar
  • 255
0 votes
2 answers
81 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 ...
user149408's user avatar
  • 1,555
0 votes
1 answer
87 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 ...
klor's user avatar
  • 426
1 vote
0 answers
51 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 ...
Riccardo Crociani's user avatar
0 votes
0 answers
45 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 ...
CarloC's user avatar
  • 385
0 votes
2 answers
112 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, ...
Harvey68's user avatar
2 votes
5 answers
437 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
47 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 ...
Hugh Esco's user avatar
0 votes
0 answers
34 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 ...
dave559's user avatar
  • 451
0 votes
1 answer
55 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 ...
dave559's user avatar
  • 451
0 votes
0 answers
49 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&...
ReYuki's user avatar
  • 33
1 vote
0 answers
88 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 (...
Stewart's user avatar
  • 16k
1 vote
0 answers
175 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 ...
user3161924's user avatar

15 30 50 per page
1
2 3 4 5
120