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.
1,794 questions
0
votes
0
answers
9
views
How can I upgrade Apache 2.4.37 installed on Red Hat Enterprise Linux release 8.10 (Ootpa)?
I have an Apache proxy 2.4.37 installed on Red Hat Enterprise Linux release 8.10 (Ootpa).
I've found out that 2.4.37 version is the lastest version supported Red Hat Enterprise Linux release 8.10 (...
0
votes
1
answer
36
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....
1
vote
0
answers
27
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 ...
3
votes
1
answer
488
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] ...
0
votes
2
answers
88
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
94
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 ...
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 ...
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 ...
0
votes
2
answers
114
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
440
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 ...
1
vote
1
answer
50
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
35
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
58
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
50
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
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 (...