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,787 questions
0
votes
0
answers
17
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
24
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
21
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
48
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
70
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
105
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
23
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
41
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 ...
1
vote
1
answer
186
views
How to disable TLSv1.2 in my CENTOS based system
I want to disable TLSv1.2 in my centOS based RHEL system. I don't have a lot of knowledge of server management or security protocols, but the VAPT report says that we need to close TLSv1.2.
i have two ...
1
vote
0
answers
16
views
Debian - help with debugging / unstability issue
i am running debian on google vmare
cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)&...
0
votes
0
answers
42
views
My server is DOSing itself
I seem to have some kind of self-inflicted DOS attack going on. I have some self-written blog software that I have hosted on a Digital Ocean droplet running Ubuntu 20. Everything worked fine for a ...
0
votes
0
answers
20
views
Apache mod_cgi to accept chunked requests dynamically (And reply)
I am working with a mod_cgi application and a client that sends data in chunked form over a period of time. But the issue is on the server, my cgi script can't reply until the client terminates.
I ...
0
votes
1
answer
53
views
Why is apache ignoring my certbot cert and sending the domain request to a different cert?
I believe the two issues I'm having are related, but don't know where to begin. The first issue is that when a specific domain that resolves to my server is requested, its conf file in sites-enabled ...
0
votes
1
answer
96
views
Why httpd can read files with tag "httpd_sys_content_t" in SELinux?
I used the below command to check related policy rules, and only find the following 2 related rules:
[root@system1 home]# sesearch -A -s httpd_t -t httpd_sys_content_t -ds -dt
allow httpd_t ...
0
votes
1
answer
213
views
Systemd: creating a service unit to run httpd for unprivileged user
I have an unusual scenario where I want an apache service to be run as an unprivileged user, this is listening on a non-root port (8000+). I have it working, but I have some issues with the custom ...