top | item 34559784

(no title)

throwawayacc3 | 3 years ago

Apache serving 21%?! What kind of websites use Apache in 2022? I haven't deployed a site on that dinosaur in over a decade at this rate. Nor have I used it as a reverse proxy in that timeframe.

discuss

order

unity1001|3 years ago

> I haven't deployed a site on that dinosaur in over a decade at this rate

That's why your memory of Apache is a dinosaur itself: Apache has been constantly improving over the years. The advantage that Nginx had in performance was gone with Apache introducing event mpm. Now event mpm + any backend can provide you the same performance with Nginx, but with ALL the benefit of the gigantic module ecosystem that Apache has.

Like another commenter said, merely WordPress would constitute around ~50% of the web, and it uses Apache. Even if there is a nginx proxy cache at the front (as is so common with run of the mill web hosts that use cPanel), the Apache in the backend is irreplaceable - modifying .htaccess file is critical to many !very! important plugins in the WP ecosystem that people use to run their businesses. And if a web host does not provide for that, they remain gimped. You can use Nginx for WordPress, but then you will have to get non-technical users to add mod rewrite rules through a web panel or something. Good luck explaining what a 'rewrite rule' is to a non-technical user who just wants to launch an ecommerce site for his flower shop. Less, any regex that needs to be used for some specific rules...

jraph|3 years ago

WordPress pretty much requires Apache and is a very big chunk of the web.

Actually, WordPress works with Nginx but it's less plug and play than Apache, so many people are still going to use Apache, even if they put Nginx in front of it. Apache implements stuff Nginx intentionally doesn't, but this stuff is still useful in some scenarios.

https://wordpress.org/documentation/article/nginx/

roflyear|3 years ago

Not true I've run nginx for clients with WordPress setups for close to 10y now.

tredre3|3 years ago

> WordPress pretty much requires Apache and is a very big chunk of the web.

Wordpress requires a web server and PHP. If you have nginx configured to run PHP, you can drop wordpress in a folder and it will just work™.

throwawayacc3|3 years ago

That probably explains everything! I've never deployed WordPress, but it's everywhere! Thanks

bosch_mind|3 years ago

Do you use cat or ls? Those tools were written like 40 years ago