Slashdot Log In
Why I Hate the Apache Web Server
Posted by
Zonk
on Fri Jul 22, 2005 07:47 PM
from the feel-the-hate-flow-through-you dept.
from the feel-the-hate-flow-through-you dept.
schon writes "Today's the last day of ApacheCon Europe; There was a hilarious presentation entitled 'Why I Hate the Apache Web Server' for anyone who has expressed frustration with the various inconsistencies and nuances of the Internet's favourite config file. And yes, it includes a comparison to Sendmail."
This discussion has been archived.
No new comments can be posted.
Why I Hate the Apache Web Server
|
Log In/Create an Account
| Top
| 558 comments
(Spill at 50!) | Index Only
| Search Discussion
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Whoops (Score:4, Insightful)
(Last Journal: Wednesday September 07 2005, @06:09PM)
Re:Whoops (Score:5, Funny)
(http://slashdot.org/ | Last Journal: Wednesday January 29 2003, @02:50AM)
Coral Cache [nyud.net] of the PDF...
Re:Whoops (Score:5, Funny)
(Last Journal: Tuesday September 25, @04:26AM)
Re:Whoops (Score:4, Informative)
(http://otc.dyndns.org/game/)
Really, the version in KDE >=3.4 is incredible.
News for nerds (Score:5, Funny)
Wow, you ain't fuckin kidding, are ya?
Re:Whoops (Score:5, Informative)
(http://www.kill9.eu/)
When you click on a pdf it displays a choice of opening it in a new tab, downloading it , or viewing it as HTML (which i think uses google, but i could be wrong because i never use this option)
It really saved me.
Why I hate PDFs (Score:5, Funny)
Here is a html version, [samurajdata.se] I doubt it will stay cached for very long though.
Re:Why I hate PDFs (Score:4, Informative)
Those PDF's again... aaargh (Score:3, Insightful)
(http://www.mitavittua.com/ | Last Journal: Saturday January 03 2004, @06:38AM)
And no, I didn't RTFA, which was in fact TFPDF.
Re:Those PDF's again... aaargh (Score:5, Insightful)
I suspect most people here are able to position the cursor over the article link and look in the status bar, note the .pdf at the end of the URL, and know that this is a PDF.
Assuming they are able to do it is one thing. Expecting them to do it every time they follow a link is another thing entirely.
Re:Those PDF's again... aaargh (Score:4, Informative)
Re:Those PDF's again... aaargh (Score:5, Informative)
(http://robots.org.uk/)
a[href$=".pdf"]:after {
font-size: smaller;
content: " [pdf]";
}
I also find the following useful:
{
font-size: smaller;
content: " [new]";
}
a[href^="javascript:"]:after
{
font-size: smaller;
content: " [shite]";
}
Re:Those PDF's again... aaargh (Score:5, Insightful)
(http://pe.ter.dk/)
It's not like it's a HTML page with a lot of process consuming javascript, java-that-requires-a-lot-of-loading-of-the-java-e
Instead you choose to be annoyed. I don't get it.
Re:Those PDF's again... aaargh (Score:5, Informative)
Why I Hate The Apache Web Server
Lessons learned from IRC - Rich Bowen
Note: Opinions expressed are those of our users, as expressed on IRC. The goal of this talk is to make people aware of things which those "outside" see as problems, but which we tend to be so used to that we don't see at all. If I get carried away, feel free to throw fruit.
Why do I hate thee? Let me count the reasons.
- Fragile
- Confusing
- Missing stuff that EVERYONE asks for
Fragile
- Breaks easily. Small changes have big resultsThe first of these forbids Indexes. The second one permits them. Huh?
Disclaimer
"But that's not supported syntax!"
Then it should throw an error and break, not do something utterly unexpected. Unfortunately, several major Linux distros ship with this broken-but-almost-looks-right configuration, or variants thereof
Example 2
Vhosts
Discussion
"But the docs say not to do that!" Yes, I know. I wrote that line in the docs. It's still really irritating.
Another
Missing (asked daily on IRC)
- Can I set a variable and use it later?
- Can I have an if/else syntax?
- Can I please reload my configuration file without restarting my server?
- How do I make ServerTokens return "Bob's Handy Dandy HTTP Server"? (Yes, this is silly, but it would sure shut a lot of people up finally.)
What else? mod_imap: how many of you have actually used that module? How many of you who are not committers know what it does? Why is it on by default? Come on folks. Netscape added client-side image maps in 1995!
And while we're on the topic mod_cern_meta: Who even knows what this module does? For the record, yes, I do. But I doubt any of you have ever used it.
CONFUSING
NumServers ServerLimit ThreadLimit ThreadsPerChild StartThreads StartServers MaxSpareThreads MinSpareServers MaxSpareServers MinSpareThreads MaxClients MaxThreadsPerChild MaxRequestsPerChild MaxRequestsPerThread ThreadStackSize
Oh sweet God make it stop
What's that directive called?
RLimitMem, RLimitCPU, RLimitNProc? I have to look these up every time. Of course, since they don't seem to do what the docs say, maybe that's not a bad thing.
Am I running out of time yet?
- Why do I have to set up two separate vhosts for http://example.com/ [example.com] and https://example.com/ [example.com] when they're the same website?
- Why are dynamic vhosts so darned hard?
- Why doesn't the default configuration file match the "security tips" document?
mod_rewrite
I probably don't need to say anything more than just "mod_rewrite". But I will: "Voodoo" and "... flexibility of sendmail". The docs practically scream "GO AWAY!"
RewriteMap
Nice, but have you ever found an actual useful example? Oh, and the example script for generating db map files doesn't actually work. (Note: Paul fixed this 2 weeks ago. See httxt2dbd)
How about this?
If I want these two aliases to work, I have to:
Some more (Score:4, Interesting)
First, we have this [apache.org].
And a quote from the default config file:OK. So I'll define as follows:Then, we have this [w3.org].
OK, so I have some legacy documents, so I'll just define as follows in <HEAD>:And let's try it out... WTF?? It does not work! My browser thinks it is UTF-8.
Oh wait, it actually works, if I'll define this instead of that above:Brilliant! So if the AddDefaultCharset is defined in httpd.conf, the Content-Type encoding of the actual document must be defined in lowercase, or it'll be ingnored! Now, where the f*** this is documented??! Examples at w3.org specifically uses uppercase. Apache permits uppercase in httpd.conf.
Apache messed it up again.
A 666KB PDF... (Score:5, Funny)
You might hate Apache but.... (Score:5, Insightful)
Re:You might hate Apache but.... (Score:5, Insightful)
If one user wants mod_perl, one wants php, and one wants mod_ruby, you pretty much have to have different webservers running, which means an administrative hassle and separate IPs.
There are a couple solutions I can think of:
(1) Change unix user permissions after it's selected a vhost, but before running any code or accessing files. Not just for CGIs, either, but modules.
(2) Make it easier to run seperate webservers as if they are one. Basically take the administrative hassle out of running multiple webservers.
Right now ISPs basically just offer PHP and use safe mode. But that doesn't help other languages, and it's basically a php hack.
It would also be nice if problems with one vhost didn't prevent the entire server from reloading the config. It should give a nasty error maybe, but the webserver shouldn't shut down the working vhosts, at worst it should leave it as it was before the reload.
Maybe, maybe not (Score:4, Informative)
1) Bandwidth. Whatever if being offered is large enough that the line it's on becomes highly over saturated and thus requests are processed very slowly, if at all.
2) CPU load due to dynamic content. Sites that use databases, or scripts to create their pages or something get overwhelemed because they don't have enough CPU to support all the requests.
The webserver itself isn't the problem. Either Apache or IIS can easily saturate a 100mb link with static content, even on a fairly old server.
When I worked for the school paper and we were linked, it was no problem at all. The line was 10mb, and the content was fairly small (say 300-500k total) and all static. Despite being a P2 300 the server didn't even break a sweat, load average was below 1. When the department I now work at was receantly linked for a comet simulator, it killed out webserver, despite the content being about 2k and it being a fiarly fast SPARC machine. The reason was each request required computation, so our load average was about 100.
Apache being able to survive a
Bandwidth is actually fairly common, many servers are run on small lines. I have a couple servers in my closet on my 768k up line. That is plenty for normal usage, people find the sites quite zippy. However Slashdot would easily overwhelm that bandwidth.
Re:is this the internet ? (Score:5, Insightful)
What does piss me off is:
- People who use PDFs to make read-only documents
- People who use PDFs where html or text is adequat and sufficient.
I don't see why they require me to lauch that hateful Acrobat Reader when a browser does a better job.
Comic Sans is..... (Score:5, Funny)
Christ, stop complaining about the PDF (Score:5, Insightful)
Complaining about PDFs is like complaining about HTTP cause you don't like IIS.
Re:Christ, stop complaining about the PDF (Score:5, Funny)
Re:Christ, stop complaining about the PDF (Score:5, Funny)
(http://ursine.ca/~baloo/ | Last Journal: Saturday August 12 2006, @01:47AM)
Pony (Score:3, Funny)
"Not yours."
Hilarious? (Score:3, Insightful)
Otherwise I'd define it "sadly realistic"...
How to fund Apache improvements (Score:5, Interesting)
(http://www.school.net/)
Apache is great but it could be *significantly* easier for beginning webmasters. And for companies to fund changes.
The 2G file limit... (Score:4, Insightful)
(http://www.neothermic.com/ | Last Journal: Monday June 05 2006, @07:29PM)
However, its the 2G file limit that makes me laugh. Sure, there's LFS (Configure 1.3 with CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64", enabled by default in 2.0.53 (and higher) and in 2.1), but to be really honest, there are far better ways to send large files. HTTP isn't one of them. There's FTP and there's also torrents; Both of which have the advantage of being designed for files rather than 'hypertext', which by nature is normally text...
NeoThermic
Re:The 2G file limit... (Score:5, Insightful)
Re:The 2G file limit... (Score:5, Insightful)