Administering Apache 54
Administering Apache | |
author | Mark Arnold, Jeff Almeida, & Clint Miller |
pages | 513 |
publisher | McGraw Hill |
rating | 8 |
reviewer | chromatic |
ISBN | 0-07-212291-9 |
summary | This task-oriented guide presents a comprehensive overview of Apache's features, suitable for the small homepage provider and the huge virtual-domain farm. |
The Scoop
It's hard to know where to begin using something as powerful and flexible as Apache. Serving basic pages is easy, but how do you keep track of visitors? How do you provide unique and appropriate content? What happens when you need more than just a static server?Adminstering Apache takes a calculated, strategic approach. Dedicating the first chapter to the needs of various entities (corporation, small business, large ISP, small ISP), it discusses the Apache features that will come into play. While the book can be read from start to finish as a tutorial, following one of the roadmaps is the quickest way to get things up and running.
What's to Like?
People who love details will appreciate many sections, like the comprehensive configuration information. The book passes the usefulness test, having served as an authoritative reference on multiple occasions. For example, the installing/compiling chapter has an excellent list of modules and configuration suggestions that came in handy with a recent project. (The index alone fills 19 full pages of two-column, small print text.)Instead of grouping all of the possible httpd.conf directives in one section, the authors cover them by topic. Localisation information can be found in the content chapter, while logging directives live in chapter 5. This division of information fits the topical philosophy, increasing the work's reference value.
While by no means essential data or a comprehensive reference, the chapter on creating new Apache modules was very interesting. The authors write a sample module in C to implement a new MIME type handler. The program's evolution and refinement demonstrates Apache's design and API, as well as good module programming practices.
The scope of the book covers more than just Apache. Aside from obvious topics of security and networking issues, the text includes firewall and proxy information, pages of related Internet sites, and even sample bash scripts to create new homepage users and directories for ISPs. Other sections discuss HTTP and CGI from protocol and implementation standpoints. (Besides, any other book dedicated to Apache business use that doesn't have a section on paid referrer logs is incomplete.)
What's to Consider?
As with Apache itself, there is a strong Unix flavor to the text. The single Windows NT chapter is only five pages long, focusing on a few important differences from the Unix version. The other chapters are reasonably cross-platform (though most of the CGI examples are shell scripts, not Perl or PHP).While a definitive guide would easily double the size of the book, precious little space covers common modules. Besides brief descriptions of distributed modules, the only real discussion involves mod_ssl, though a few have links provided. Also, the book concentrates on Apache in a commercial environment. Perhaps the corporate intranet server best approximates the single-user, small-site setup common for developers' personal pages.
From a writing standpoint, some sections are best left as references. The authors deserve sympathy for writing two pages describing log format string substitutions -- let alone testing and editing them. Though filled, in places, with almost too much information, the writing never becomes muddied. Still, you won't stay awake nights reading some chapters.
The Summary
While not the most exciting book to grace your shelf, Administering Apache is a detailed and useful guide to the Apache web server. More than an introduction, it will be a good reference, not just for the mechanics of the software, but for the technique and mindset necessary to maintain an installation in a business environment.Table of Contents
- Planning Ahead
- Creating the Web Server
- Creating the Web Site
- Manipulating Content
- Using Logs
- Securing the Server, the Content, and the Connection
- Creating Homepage Web Sites
- Creating Virtual Domain Web Sites
- Proxying with Apache
- Troubleshooting
- Using Apache on Windows NT
- Programming the Apache Server
You can purchase this book at Fatbrain.
Re:Duh... (Score:1)
So? They've published more than one book on Oracle, Photoshop, etc. In fact, they've even published another Apache book [oreilly.com], so you can't claim that they've reached the Apache limit.
Re:Ubiquity? (Score:2)
*smirk* Apache (bless its heart) is a web server, Windows is an OS. Now lets move on...
Apache can be run on Windows or Linux, however the latter is prefered.
Re:I wonder if its worth it (Score:2)
Re:Anything has got to be better than ORiellys boo (Score:1)
Granted, the code methodology is a little tricky to get the hang of first, but once you understand how they designed it, it makes alot of sense.
You just answered your own question, just consider that, for some reason, it might be trickier for some.
Anything has got to be better than ORiellys book (Score:2)
I've found the O'Rielly book on apache is much less readable than the confusing online docs. They should be ashamed of themself for publishing such a waste. I have a copy of "Apache Server Administrator's Handbook" and its not bad at all but I think that all books on apache are bound to suffer the same fate to some degree because apache is so damn confusing.
Re:I love apache (Score:1)
They're not all daft. I work for a very large corporation, and we use Apache. On Solaris.
Using Webmin for Apache (Score:1)
Here is a screenshot of the webmin module [webmin.com].
PS: webmin is itself a great tool if you want to play with multiple distributions and not worry too much about the individual conf file idiosyncracies. Try it at webmin. [webmin.com]
Re:Apache users are weenies (Score:1)
I meant that as an exageration on an otherwise shortcoming of uptimes for Microsoft box's.
'Me thinks thou protesteth too loudly'
-Shakespeare
Re:Ubiquity? (Score:1)
If whistler doesn't support 2 procs then that's ANOTHER thing microsoft will have missed.
Re:Funny but rather erroneous... (Score:2)
Administering Apache 2.0 (Score:1)
According to Jeff, there's already a second edition of this book planned, with additional goodies on performance tuning (including information on non-core patches from
I'll certainly be reading the second edition this time next year.
--
Re:Apache users are weenies (Score:3)
I am curious. How does one learn more from text config files than by using a GUI. Is it because it takes longer, so you get more exposure to the product? That doesn't seem right.
Well, my experience with IIS is a bit limited, not because I haven't had exposure to it, but it such a "easy-to-use" product once you start doing some of the more complicated tasks it gets too frustrating to use properly.
Think of it this way. I used to program religously in BASIC. Nowadays I stick to Perl, even though by most definitions Perl is "harder" to learn (which I agree with; I've used both extensively throughout my life). However, once you start doing tasks that are more complicated than the examples you find in the "Learning BASIC 101" tutorial books you realize that BASIC isn't as easy to use as you thought initially, since you start concentrating more on the "workarounds" rather that your code. Perl, as Larry Wall put it, "makes the easy job easy and the hard jobs possible". BASIC just does a good job of making the hard jobs a programming (and sometimes managerial) nightmare.
When you have something like IIS, it appears to be easier because the first ten "easy" tasks you can think of to do with it are so simple. But the bugger is when you try to bend it in ways Microsoft never really intended. Thus, your stuck.
Anyways those are my two cents.
Re:Funny but rather erroneous... (Score:1)
Sioux is an Indian word meaning 'enemy', approapriately what the enemies of the Lakota called them. 8o)~
Re:Apache users are weenies (Score:1)
Re:Ubiquity? (Score:1)
Re:I wonder if its worth it (Score:1)
Personally, I see the book as more of a training aid, not a reference work. I'm sure once someone picked up the basics with this book that they would do just fine with the online manual.
Most Important? (Score:1)
You have obviously never played Starcraft...
G.H.
Re:well... (Score:1)
shits and it's actually 2 of them.
Re:I wonder if its worth it (Score:1)
Duh... (Score:1)
Fawking Trolls! [slashdot.org]
Re:theres an obvious reason (Score:1)
Re:Anything has got to be better than ORiellys boo (Score:1)
----
Dave
MicrosoftME®? No, Microsoft YOU, buddy! - my boss
Re:Ubiquity? (Score:1)
I'm a little unsure... (Score:1)
As far as this book, does it cover Apache 2.0 at all? I haven't examined that release in depth, but don't quite a few core things change (especially the module interface)?
APache definately needs more reference materials, though -- whenever I want to do something somewhat sophisticated, I have to grovel around the net to find a Slashdot article or someone's web page on how to do it
Re:I wonder if its worth it (Score:1)
So is the web, but not always in the same circumstances. (I'd quite happily read a book on the train but wouldn't dare use my laptop.)
Re:Ubiquity? (Score:1)
Re:Apache users are weenies (Score:2)
Well a gui might be better for initial setup, but once you are profecient its easier to write text based config files. With text based config files you can write a gui to configure it. Swat for samba is the best example. Text based config files are easier to backup as well.
It is true that the main reason for haveing better knowledge of a program through editing config files is partly due to increased time learning how the config files work. However, the long term benifit in ability to diagnose and fix problems is usually well worth it. My general knowlegde of SNB/CIFS was greatly increased when I setup SAMBA as a PDC. Yes I did invest alot of time in reading online docs as well as the Oreilly book, but I now can very quickly diagnose and fix SAMBA as well as SMB problems on Windows boxes. Editing apache files by hand may take more time initially, but in the long run the ability to fine tune and secure the server will benifit the admin in the long run.
'Cause it costs CPU cycles... (Score:1)
Funny but rather erroneous... (Score:1)
Unfortunately, that was the Sioux, and G.A. Custer led the 7th Cavalry. Calvary was a hill where a young carpenter from Bethlehem who pissed off the Romans was supposedly executed around 3 A.D. =P
Kasreyn
Re:You see what the options do (Score:1)
Re:Apache users are weenies (Score:1)
Re: (Score:2)
Re:I love apache (Score:2)
Actually, we don't... Until next Thursday anyway! Then Apache on Solaris replaces O'Reilly website on NT!! (But we nearly all agree after the last 9 months of testing and planning that we should have used Linux as the OS. Solaris is pretty lacking when compared to Linux.)
I just got back from a gruelling two day marathon of teaching our Operations Support Group in St Louis all about our new web architecture. 5:30 AM to 7:30 PM, five classes a day. I'm not usually out of bed until 8:30 AM. I'm still braindead, but it was fun! :)
Re:Using Webmin for Apache (Score:1)
Re:Ubiquity? (Score:1)
What's with equating all Unixes as Linux.
Apache, with enough tweaking, will run on anything.
ApacheC64 coming soon.....
VeltyenAdvantages of Apache (Score:2)
web hosters:
knowing users can configure their part of Apache themselves using
As an added plus, each users authentication data is kept in separate password files, and independent of the system authentication data. This is crucial in a hosting environment.
The Apache process modell with a single manager process accepting requests and delegating them to a farm of worker processes is built with the idea of unstable or unsafe modules being present in the worker processes. Apache can recover from core'ing or memleaking worker processes and keeps your server online, albeit with higher system load.
Both properties are priceless in a hosting environment and are the main reason why Apache is consistently chosen in mass hostings over IIS. The completely scriptable configuration is another plus, too. So is the abundance of useful modules and server extensions. Price is secondary.
© Copyright 2000 Kristian Köhntopp [koehntopp.de]
All rights reserved.
Timothy can't read (Score:1)
I wonder if its worth it (Score:1)
Can't resist (Score:1)
Apache, safe when used as directed.
Re:I wonder if its worth it (Score:1)
I find that half the usefulness of a book is derived from its readability when compared to other media. I could read this curled up in bed if I wanted to, and if I were that wierd. Usually I find better things to do in bed though...
KTB:Lover, Poet, Artiste, Aesthete, Programmer.
Administering Apache (Score:2)
No thanks...
Re:Ubiquity? (Score:1)
Ubiquity? (Score:1)
I don't understand. Netcraft shows that there are millions of Apache servers out there, so that means they are good, but 95% of workstations out there run Windows, which is supposedly bad. Huh?
Re:Apache users are weenies (Score:2)
<tongue_in_cheek>
Ah, yes; IIS, the web server for illiterates.
</tongue_in_cheek>
Seriously, IIS is not nearly as flexible or useful a general tool like Apache is. Look at the book. Feel the power. Get away from those pretty useless buttons and dialog boxes. You don't learn anything from them.
Re:I wonder if its worth it (Score:1)
One question... (Score:1)
Bookies - (Score:2)
I could give 2 $*!ts about most novels but when it comes to manuals I'm a happy camper.
My girlfriend gives me these weird looks when I break out my Camel book or my Linux 4th edition manual.
well... (Score:2)
tagline
Re:Administering Apache (Score:1)
Re:Apache users are weenies (Score:1)
Re:Ubiquity? (Score:1)
Well, it's 'good' in the 'ra-ra-ra-open-source' sense. Netcraft shows that Apache really is ubiquitous, I have no idea how it could show it is useful.
But anyway. 95% of workstations running Windows is very good, for Microsoft at least.
My Xmas list (Score:1)
Something else to add to my xmas list.
The xmas list of all the things I am buying for *myself* for Xmas.
[sigh ...]
I love apache (Score:1)
Problem is I keep working for large corperations.. they are all stuck in the windows frame of mind.
apache is SOO much more flexable, easily configured, easier to write cutstom apps for. This book sounds like it could be a good buy. (I will certainly buy it for a desktop guide, if nothing else.) Im shocked O'Riley let this one get away though.
Re:You see what the options do (Score:1)