Questions tagged [apache2]
Apache (HTTP Server) /əˈpætʃiː/ is a modular cross-platform web server software with a large variety of features(called modules) including SSL, compression, log, proxy and server-side programming language interfaces like Perl, Python, Tcl, and PHP.
462 questions
0 votes
1 answer
55 views
Abilitate userdir in XAMPP for Mac for local sites
I installed XAMPP 8.2.4-0 on a MacBook with a Tahoe 26.1. My goal is to allow access to the directories located at: /my_user/Documents/htdocs. One possible way should be to enable userdir. This is ...
1 vote
0 answers
18 views
How to prevent ModSecurity in Apache from filling up my logs?
I’m running a shared web server and I’d like to apply the WAF + CRS ruleset only to one of the virtual hosts. For now, ModSecurity is set to "DetectionOnly" mode so we can first review what ...
1 vote
0 answers
22 views
httpd (apache2) on Arch: Warning: DocumentRoot [/home/peter/www/test.de] does not exist – but exists
My virtual host on my newly installed Linux Arch machine lives in /home/peter/www/test.de, so in my user directory. In my /etc/httpd/conf/httpd.conf I include its config file: # my own virtual hosts: ...
0 votes
0 answers
11 views
Apache2: I can server cgi files or .HTML but not both
I am struggling with Apache2 configuration to serve CGI (.py) and .HTML files on the same website. if I run 'a2enmod cgi' my .py files can be served but my HTML Files can't be served. if I run '...
1 vote
0 answers
16 views
Apache Reverse Proxy with local BIND9 zone CNAME override
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....
0 votes
0 answers
17 views
Usage of SSL directives in Apache backend-only https reverse-proxy?
I've recently migrated an existing Apache2 webserver config from a "traditional" Debian-based linux machine to an AWS EKS environment using the hub.docker Httpd Docker official image instead....
1 vote
1 answer
65 views
where is cPanel's SERVER_ADMIN (env var?) coming from in cp_errordocument.shtml?
One of my sites has a URL that is currently giving a 500 error, and I happened to notice that it says to contact the server administrator at a wacky email address. I am using WHM and cPanel to run ...
0 votes
0 answers
24 views
How can I set the document root of a subdomain to a root directory WHM?
I'm trying to install openProject on my vps from bluehost. I have a root access to whm and created a cpanel account within WHM. When installing openProject I can't change the install directory (or at ...
0 votes
0 answers
43 views
mod_rewrite rules to strip body content when using HTTP HEAD request
I experimented with some sites including my own using CURL. When you request a website with a HEAD request, its supposed to return only the HTTP headers, whereas a GET request, it also returns the ...
0 votes
0 answers
36 views
Sessions of apache webserver expiring - forcing logout of users (non php)
I have got some webservers running behind a proxy-server. These webservers are running an application, but it seems users are getting a 'session expired' error. This error forces a logout and users ...
0 votes
1 answer
42 views
How come my backend control panel (cPanel) icon appears on password auto-fill selector......?
I've just upgraded my FF browser to v133, and encountered a strange fenomenon that I believe has something to do with my server configuration: I have no idea if it is somehow related with a similar ...
0 votes
2 answers
50 views
using environment variable from 2 sources in .htaccess causes HTTP 500 error
I came across a strange problem today when updating .htaccess to update my site. Like most sites, when a user requests a resource, it's fed through a script for processing. In my case, I have ...
0 votes
1 answer
40 views
Apache: prime SSL cache or rotatelog?
I found myself in a situation again. And we know google is in love with pages that load fast. Since I run a server with apache and Cpanel, I configured it to rotate apache logs every 24 hours (thats ...
0 votes
1 answer
163 views
lowering maximum connections allowed per ip without making google unhappy
I run my website on an apache server and I noticed something interesting and I have discovered it through testing with apache bench. The page I'm testing is the IP address my server runs on and that ...
0 votes
1 answer
456 views
Enforcing HTTP/1.1 and up on apache
Seeing that most people use HTTP/2.0 or HTTP/3, I thought of making changes to apache so it refuses connections to those using HTTP/1.0 or lower. Before suggesting mod_rewrite, I want to apply ...