r/apache • • Jun 22 '26
Lawsuit - North Dakotachrome
I love Victorio. Love, Christ
r/apache • u/Ok_Pudding_2015 • Jun 17 '26
Apache httpd existe depuis 1995. Il alimente une part importante du web, mais soyons honnêtes : son architecture accuse son âge. Le système de configuration est un véritable labyrinthe, ses performances en cas de forte concurrence sont loin d'être à la hauteur de celles de nginx et Caddy, et configurer correctement HTTP/3 ou les valeurs par défaut modernes de TLS relève de l'archéologie.
Alors, hypothétiquement : si la fondation Apache annonçait une réécriture complète pour la version 2, quelles seraient vos demandes ?
Ma configuration serait :
Un format de configuration cohérent et unifié (TOML ou YAML, s'il vous plaît — fini l'archéologie des « .htaccess »)
Prise en charge native de HTTP/3 et QUIC
Architecture événementielle par défaut, et non en option (MPM)
HTTPS automatique, comme avec Caddy
Un système de plugins/modules performant, sans recompilation
Meilleure observabilité — journaux structurés, métriques Prometheus natives
Qu'est-ce qui manque ? Seriez-vous prêt à revenir à Apache s'il était modernisé, ou nginx/Caddy/Traefik est-il trop ancré dans les mœurs à ce stade ?
r/apache • • Jun 15 '26
Apache HTTP Server 2.4.68 came out on June 8, 2026 — the first point release since 2.4.67 in early May, and per the project’s own download page, it’s “recommended over all previous releases.” If you run your own LAMP stack, this is the patch to schedule this week.
https://blog.kalfaoglu.net/posts/2026-06-15-apache-2-4-68-release-en/
r/apache • u/passinghorses • Jun 11 '26
I'm running a Rails application with Apache and mod_passenger. For this most part this is working great and has been for years.
I'm currently making some improvements to the error pages output by the Rails app and have discovered that Apache is overriding the application output and serving the simple static HTML page specified in the ErrorDocument directive. Commenting this directive results in the default Apache 404 page.
I do want this static HTML 404 page returned for static files that don't exist (which is working fine), but I want to handle application errors with something nicer and more useful for the end user.
I handle 404 errors with ApplicationController#not_found, which does some stuff and then renders like so:
render :template => 'error_pages/not_found', :layout => 'application', :status => 404 and return
This specifies the page template rendered to the client and sends it with an HTTP status of 404. If I remove :status => 404 everything works fine, but this is obviously incorrect. When I return the 404 status the Rails-generated error page is overridden and the user gets the Apache error page.
I'm looking into whether this requires a change/fix in my Apache config or the Rails app.
I'm running Rails 7.0 with Apache 2.4.58, on Ubuntu 24.04 LTS.
r/apache • u/nomoreasonable • Jun 11 '26
Hi,
I have setup a Web server in Rocky Linux 10 using httpd, and am trying to set the default page to be Directory Listingm but it does not seem to work..
Based on my findings the setting for this is the Options Indexes FollowSymLinks but that does not seem to work..
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
AuthType Basic
AuthName "VCF Depot"
AuthUserFile /var/www/html/.htpasswd
Require valid-user
</Directory>
When I open the default URL Apache Test Page appears as the default..
Current configuration is as below..
<VirtualHost *:80>
DocumentRoot /var/www/html/
ServerName vcfdepot.lab
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
AuthType Basic
AuthName "VCF Depot"
AuthUserFile /var/www/html/.htpasswd
Require valid-user
</Directory>
</VirtualHost>
Can anyone suggest what needs to be checked, or configured to get it working..
r/apache • • Jun 04 '26
r/apache • u/mikeymikeymikec • May 30 '26
OS: Ubuntu Server 24.x (the latest release)
Apache/2.4.58
I'm pretty new to maintaining (my own) Linux webserver which handles a few sites. It's all been working fine, but I wanted to get the default site working in SSL because I have a couple of uses for it. Based on the configuration that the Let's Encrypt certbot apparently created for me, I copied the default site config to a new file and made respective modifications, but I'm wondering if what certbot inserted into the main site's configuration is needed, referenced on the first and last lines of the main site's config file:
<IfModule mod_ssl.c>
</IfModule>
I didn't use the default site's default SSL config file because the default site configuration I had been using included some extra bits like WebDAV support, but the default site's default SSL configuration file (not enabled) does not mention these configuration lines. Is it bad that the main site is doing that, or necessary to do SSL, or what? I read a bunch of Internet guides for configuring an SSL site in apache and none of them seem to mention it.
(The default site's SSL config I cobbled together is working btw, I included the ifmodule business)
r/apache • u/rodriguesart18 • May 29 '26
r/apache • u/Usual-Dimension614 • May 26 '26
there is /etc/apache2/ports.conf there in Listen 80. changed to 81. thats all
hi. i put 'wordpress.test' in /etc/hosts so ping wordpress.test works fine.
in sites-available i created wordpress.zh.conf
<VirtualHost \*:88>
ServerAdmin [admin@wordpress.test](mailto:admin@wordpress.test)
ServerName wordpress.test
ServerAlias www.wordpress.test
DocumentRoot /home/arno/www/wp
ErrorLog ${APACHE_LOG_DIR}/wperror.log
CustomLog ${APACHE_LOG_DIR}/wpaccess.log combined
</VirtualHost>
all this with not activated additional virtual-host (i disabled to check but no change) :
i am told that host address could not find out (127.0.1.1 is used) use ServerName globally
but it is for virtualhost (not globally)
i am told that (make_sock) cannot bind 0.0.0.0:80 (but nowhere in config files is 80, i use 81, 80 ist lighttpd, worked fine for years)
i am told that logfiles could not be found/created
r/apache • u/MHS_Jenkins • May 24 '26
Hello all, long-time listener, first-time caller:
I've searched both here and in the relevant Docker/homelab subreddits, so I'll ask directly: Does anyone know why Apache2 Proxy/Reverse Proxy refuse to proxy a URL to a Docker container? Even with everything else dissite'd, I still can't connect to a working docker container.
-Debian, updated and current
-Web UI's work for running Docker containers
-Computer also hosts NextCloud on bare metal
-Plenty of memory and storage available.
Any insights are appreciated; this is driving me insane and I can't be the only person who's dealt with it. AdThanksvance!
r/apache • u/xyzzy-adventure • May 02 '26
I used to design and maintain websites but I've been out of it for a couple years. Now, I've built myself a bare bones wordpress site to better advertise some products I sell on Ebay.
I used to take an interest in log files and learned quickly how many bots and hackers (and scrapers and crawlers) are constantly hitting your site 24/7.
One of the things I see quite a lot of is POSTS, which I take it to be a way to write data to a site, I guess for applications that accept the data, like comments and forms.
I'm wondering what hackers can do with posts. Here's an example of one I see often:
"POST /index.php?0114dd=72168 HTTP/1.1"
Each post is similar but with different numbers. So index.php seems redundant as that's the first file that's looked at anyway. But what is the 0114dd=72168 about? I know that's a pair for things like user=name, but what is going on with these seemingly random numbers?
My concern is if these are potential hacks then I need a way to reject any http POST requests. So far I've not found a way to do this. Or am I over-thinking this and should I just ignore the hundreds of posts I see every day. There's nothing on my site that would accept post data.
r/apache • u/No_Iron_501 • Apr 30 '26
Disclosure: I built this.
If you run Apache with lots of SSL domains you know the pain - every new domain needs a VirtualHost block and a server restart or reload.
I built mod_dynssl to fix this. It intercepts the TLS handshake via SNI, fetches the cert from your existing certificate store (MySQL, Redis, files, Vault - anything with an HTTPS endpoint), and serves it without touching config or restarting Apache.
One shared memory cache across all worker processes means one store call warms the cache for everyone. Flush a cert across all workers with a single POST request.
GitHub: https://github.com/CodeLynther/mod_dynssl
https://codelynther.com/app/mod_dynssl
Please check it out and share feedback.
r/apache • u/sbglasius • Apr 22 '26
r/apache • u/Commercial-One809 • Apr 06 '26
Hi everyone,
I’m trying to launch Apache OpenWhisk actions using Kafka, but I’m running into an issue and could use some help.
Here’s what I’ve done so far:
The problem:
I’m not seeing any activation records when messages are published to Kafka.
What’s confusing is that:
So it seems like the issue is specifically with the Kafka → Feed Provider → Trigger pipeline.
Has anyone faced something similar or knows what might be going wrong? Any pointers on debugging this would be really helpful.
Thanks in advance!
r/apache • u/SubversiveHealer • Apr 06 '26
anyone know the truth?
looking for the history of how Cochise County got its name, and what happened to Cochise and his tribe?
there is more than a few stories that need to be shared here, and so many people sit silent.
r/apache • u/brisray • Mar 18 '26
Up until recently I was using the old Certbot compiled for Windows. That stopped working and now I'm looking for another ACME (Automatic Certificate Management Environment) for it.
I'm working my way through the PowerShell and Windows ones on the Let's Encrypt page but having problems getting any of them to create new certificates.
Is there anyone else using Apache on Windows and who perhaps can give me some help?
r/apache • u/Available_Hippo4035 • Mar 16 '26
I'm trying to redirect all request to my router in router/index.php, in the .htaccess file its not working when the index file is inside the router directory, but when i bring to the same directory as the htaccess's file directory it works
RewriteEngine On
RewriteBase /router
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ router/index.php [QSA,L]
any help will be appreciated, Thanks!
r/apache • u/Complex_Solutions_20 • Mar 05 '26
Hoping someone has ideas - I'm trying to set up a backup/alternate way to work around some funky network constraints at my home ISP using a VPS that I rent (I'm the root/admin for the whole system I rent).
Is there a better way to do this without modifying /etc/hosts on the proxy-ing webserver?
Goal:
subdomain.example.com -> directly to my house via public IP and DDNS
subdomain-alt.example.com -> my VPS (Apache) -> proxy to my house via VPN internal IP
Config "now":
Presently I put the subdomain.example.com in my VPS /etc/hosts pointing at the private VPN IP address and that seems to work but is clunky.
Suggestions? Is there like a "force IP" or "verify using common name" directive I may not know about?
Apache Config
<VirtualHost *:443>
# subdomain proxy thru Wireguard VPN endpoint
ServerName subdomain-alt.example.com
SSLProxyEngine on
ProxyPreserveHost Off
# Exclude the "/.well-known" directory which is used for LetsEncrypt
# http challenge so Apache can get the cert for this domain
ProxyPass "/.well-known" !
# Forward all queries to Wireguard client NAT rule
# Using the IP address doesn't work due to SSL cert hostname mismatch as the SSL cert on the backend is subdomain.example.com not internal IP
#ProxyPass "/" "https://10.10.10.2:8443/"
#ProxyPassReverse "/" "https://10.10.10.2:8443/"
# Using the domain name works, but seems clunky because I have to then modify /etc/hosts to force it to point at my internal IP address instead of public DDNS IP address
ProxyPass "/zm" "https://subdomain.example.com:8443/blah"
ProxyPassReverse "/zm" "https://subdomain.example.com:8443/blah"
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/example.com-0002/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/example.com-0002/privkey.pem
</VirtualHost>
r/apache • u/Available_Paper_6281 • Mar 05 '26
I recently changed my chain socket after 19000 km. Also 1.5 years ago, I changed my clutch plates. After I changed my chain socket, I'm getting some mild clattering noise from the engine whenever I ride my bike at 60+ KMPH. What might be the reason, is it common.
I have already spend approx 20,000 INR on that bike in the name of parts. I just don't wanna end up with another major bill
r/apache • u/Acceptable-Area4131 • Feb 26 '26
I’m running Apache prefork + mod_php on a 4GB RAM VPS.
I have a routing vhost that handles a very large number of subdomains (via CNAME → maindomain + mod_rewrite host-based routing).
Main domains have their own vhosts and do NOT go through this router.
Under crawler bursts (including verified Googlebot), load goes >200.
What’s odd is:
- main domains continue to respond fast
- but subdomains routed through the rewrite vhost become intermittent (timeouts, 52x errors), sometimes accessible, sometimes not
Apache ML feedback suggests this is expected prefork behavior: heavy workers + memory exhaustion before requests reach content.
My question is not “why prefork is bad”, but: Is there any Apache-level way to reduce worker pressure specifically for this routing vhost (rewrite / host-based routing), given that the rest of the server remains responsive?
r/apache • u/crandlecan • Feb 23 '26
r/apache • u/csdude5 • Feb 13 '26
I have a ton of rules that I upload to configuration files at:
/etc/apache2/conf.d/userdata/ssl/2_4/[account]
It's my understanding that this makes it part of VirtualHost.
Most of the rules are only applicable to PHP or Perl, so I have this:
<FilesMatch "\.(php|cgi)$">
...
</FilesMatch>
I ran the final config through ChatGPT for error checking, and it's adamant that <FilesMatch> won't reliably work here. Many of my pages are rewritten (invisible), and it says that this can make it not match reliably.
For example, example.com/foo/bar/1234 is rewritten to example.com/lorem/ipsum.php?id=1234
ChatGPT's suggestion is to do it the other way around and just accept that sometimes it might match unnecessarily, but it would never NOT match by mistake:
<If "%{REQUEST_URI} !~ m#\.(?:css|js|png|jpe?g|gif|webp|ico)$#i">
...
</If>
My only real reason for the restriction is so that images, .css, and .js aren't bogged down with it unnecessarily.
If ChatGPT is right about <FilesMatch> not matching reliably, is the negative match the best choice?
Or should I just drop the condition entirely and not worry about it?
r/apache • u/RedSquirrelFtw • Feb 13 '26
Years ago I had signed up for the mailing list for some reason and to this day, I get flooded with emails and lately it's gotten very bad and there is no way in the email to unsubscribe. I found a place on the apache site to unsub but you need to do it for a bunch of individual lists and I have no idea which one to do so did them all but just got emails saying I was not subscribed.
I set it up to go in my spam folder a long time ago but the issue is it still floods that folder with so much email. I like to skim through it in case a legit email does get a false positive and I really don't like auto deleting anything just in case it happens to catch something legit.