logoalt Hacker News

throooooo • today at 5:04 AM • 9 replies • view on HN

I have a lot of Linux sysadmin experience but haven't touched Apache in more than a decade. I thought it's mostly nginx or other solutions at this point.


Replies

hannob • today at 8:43 AM

Apache has a feature that no other http server has replicated: .htaccess files.

They provide limited configurability of server functionality within a webroot. That's extremely convenient for PHP webapps. For many PHP apps, deploying them on anything that is not apache means touching the server config itself.

➕ show 5 replies
nine_k • today at 6:41 AM

Apache has plenty of life left, it just works™, supports almost everything, and currently is about as efficient as nginx WRT connection handling. Sometimes you want what .htacces gives you. (No built-in Lua though.)

➕ show 1 reply
orev • today at 5:48 AM

At least 21% of web sites use Apache httpd, and of course many sites don’t report the software used at all. Nginx is also frequently used as a reverse proxy, with Apache used behind it.

nik282000 • today at 8:15 AM

My whole selfhosted mess is built around Apache. It was what I started with and I haven't run into any edge cases that it can't cover.

➕ show 1 reply
skeletal88 • today at 7:08 AM

Why would I not use apache if everything already works with it for me?

load-bearing • today at 7:26 AM

Apache has mod_md -- an acme client, which lets you obtain https certificates as easily as on caddy, without integrating with awkward separate programs.

https://httpd.apache.org/docs/trunk/mod/mod_md.html

JodieBenitez • today at 5:50 AM

At work we use Apache because of mod_shib. We have yet to try nginx-http-shibboleth.

dawnerd • today at 6:34 AM

Default Wordpress docker image uses it.

dizhn • today at 8:25 AM

I am the same way. I use Caddy if I can. But I have a lot of docker containers running apache and nginx. You probably might too.