2 ms·
> I love nginx, don't get me wrong, but paste in snippets from two different blog posts and watch the sparks fly This week where I work I have witnessed much t
by buro9 15y ago
> I love nginx, don't get me wrong, but paste in snippets from two different blog posts and watch the sparks fly
This week where I work I have witnessed much the same with Apache2.
The problem: They have a new Wordpress install, want to redirect an existing site path to Wordpress, and want to ensure that the performance rivals that of the existing site.
Before I could get them to just change the Netscaler rules and add a simple Wordpress add-on that creates static files from dynamic, they had cargo-culted their way to a glorious solution that involved leaving all of the routing in place but reconfiguring Apache using mod_proxy, mod_rewrite, and proxyhtmlurlmap such that requests for static items get munged through the static web server, sent off to the Wordpress server, re-written on the way back, and then served up in-place of the existing file.
They literally have an Apache conf that is the sum of 5 different blogs. And they don't understand how it works, and how it is in other ways broken (they can't login to wp-admin anymore, but hey... it's OK, they can copy the Wordpress database from staging).
This has also taken them 2 weeks to achieve.
When asked why they didn't just change the routing rules, add Varnish and configure Wordpress to know what domain it's on (so they don't have to rewrite anything), they simply shrugged and explained that it's working now.
PS: If anyone wants a technical co-founder in London, or an Architect/CTO level person who can hire good people and build good teams. Please speak to me. I'm not sure I can take the madness of working for other people much longer.