See buying choices for this item to see if it's one of the millions that are eligible for Amazon Prime.

51 used & new from $0.54

Have one to sell? Sell yours here
 
 
Writing Apache Modules with Perl and C
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

Writing Apache Modules with Perl and C (Paperback)

by Lincoln Stein (Author), Doug MacEachern (Author)
4.5 out of 5 stars See all reviews (22 customer reviews)


Available from these sellers.


9 new from $18.50 42 used from $0.54
Also Available in: List Price: Our Price: Other Offers:
Paperback (Bargain Price) 12 used & new from $3.87
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Customers Who Bought This Item Also Bought

The Apache Modules Book: Application Development with Apache (Prentice Hall Open Source Software Development Series)

The Apache Modules Book: Application Development with Apache (Prentice Hall Open Source Software Development Series)

by Nick Kew
4.7 out of 5 stars (7)  $44.40
Practical mod_perl

Practical mod_perl

by Eric Cholet
4.5 out of 5 stars (6)  $36.46
Apache Cookbook: Solutions and Examples for Apache Administrators

Apache Cookbook: Solutions and Examples for Apache Administrators

by Rich Bowen
4.2 out of 5 stars (12)  $23.09
mod_perl Developer's Cookbook (Developer's Library)

mod_perl Developer's Cookbook (Developer's Library)

by Geoffrey Young
5.0 out of 5 stars (7)  $27.57
Apache: The Definitive Guide (3rd Edition)

Apache: The Definitive Guide (3rd Edition)

by Ben Laurie
2.5 out of 5 stars (13)  $26.37
Explore similar items

Editorial Reviews

Amazon.com Review
Writing Apache Modules with Perl and C will allow you to enhance your Apache HTTP server in just about any way you'd like. Overall, it is an excellent book, and it has a lot of good information and terrific examples on everything from "Content Handlers" to customizing the Apache server configuration process.

It's quickly apparent that Lincoln Stein and Doug MacEachern spent valuable time writing this book considering the breadth of their subject and the depth they devote to it. The only downside to the book is that it's kind of hard to explain all of the API functionality without assuming a minimum level of competence from the audience. For that reason, this book might be a bit intimidating to novice programmers, but it really rewards you if you put time into it and tinker with things.

The book also works well as a source of ideas and inspiration for when you have to write your own server modules, and I'd recommend it if you want to customize your Apache server or speed up your Perl CGI programs. --Doug Beaver

Product Description
Writing Apache Modules with Perl and C shows how to extend the capabilities of the Apache web server. It explains the design of Apache, mod_perl, and the Apache API, then demonstrates how to use them for:

  • Rewriting CGI scripts as Apache modules to vastly improve performance
  • Server-side filtering of HTML documents to embed special markup or code (much like SSI)
  • Enhancing server log functionality
  • Converting file formats on the fly
  • Implementing dynamic navigation bars
  • Incorporating database access into CGI scripts
  • Customizing access control and authorization to block robots or to use an external database for passwords
Lincoln Stein is the successful author of How to Set Up and Maintain a World Wide web Site and the developer of the widely used Perl CGI.pm module. Doug MacEachern is a consultant and the creator of the innovative mod_perl Apache module.

See all Editorial Reviews

Product Details

  • Paperback: 724 pages
  • Publisher: O'Reilly Media, Inc.; 1st edition (March 1999)
  • Language: English
  • ISBN-10: 156592567X
  • ISBN-13: 978-1565925670
  • Product Dimensions: 9.2 x 7 x 1.2 inches
  • Shipping Weight: 2.3 pounds
  • Average Customer Review: 4.5 out of 5 stars See all reviews (22 customer reviews)
  • Amazon.com Sales Rank: #471,208 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #22 in  Books > Computers & Internet > Web Development > Web Servers > Apache

Look Inside This Book


What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(1)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

22 Reviews
5 star:
 (15)
4 star:
 (4)
3 star:
 (2)
2 star:    (0)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
4.5 out of 5 stars (22 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
16 of 16 people found the following review helpful:
5.0 out of 5 stars A web programming marvel, October 18, 2001
By A Williams "honestpuck" (Neutral Bay, NSW Australia) - See all my reviews
(REAL NAME)      
I once read that you could not consider yourself a Unix Wizard until you had hand written a SendMail configure script once, and that no sane person ever did it twice.

The first part of that truism can perhaps be said of Web Wizards and Apache modules. Fortunately Apache modules are a little easier to write than Sendmail configurations and this book makes it easier still.

Let's not mince words. Perl scripts and other CGI software can quickly become performance bottlenecks on any server, no matter the size of your hardware. The most powerful way of fixing this is to fold a fair amount of that programming inside the server where the overhead of loading interpreters, libraries and code is already taken care of, not to mention you find yourself with much more power and control over the dialogue between server and browser.

Unfortunately writing to an API as large and complex as that in Apache is not always easy. MacEachern and Stein go to a great deal of trouble and exert a fair degree of skill in breaking the learning down into manageable chunks and explaining it all with a large number of examples.

This was the first book I read that really made me understand the process going on, both between the two pieces of software and inside Apache, when a page is requested. From there the book goes on to give you a marvellous understanding of how to write a module in Perl that fits into that process. Finally the last three chapters are excellent API reference guides, one on the Perl API and two on the C API, and an excellent index (which indexes every function in the API's as well as key concepts) make this a superb tool when you get down to writing.

The book does not cover using C in any where near as much depth, but the vital conceptual understanding required and explained in the Perl chapters means that once you have written a module in Perl I don't believe you will find it a problem to do it in C. I have to say though, as a C programmer I am yet to do it, I get so much performance out of a module in Perl I've yet to find the need.

I read this book before starting my first module and I have now written three. I would never have even contemplated the task before reading this volume. I would recommend this book to anyone who wants to get a full understanding of writing software for the web and anyone who wants a quantum leap in the performance of their web software. You will need some fair Perl skills and preferably written a few CGI scripts as this book does not cover the language skills required at all.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
16 of 17 people found the following review helpful:
5.0 out of 5 stars The essence of O'Reilly, April 21, 1999
By A Customer
_Writing Apache Modules_ is quintessential O'Reilly. They have taken an arcane but potentially useful topic and produced a readable, entertaining, complete, and authoritative guide to it. The book's 700 pages are nearly 3/4 tutorial, which walks you through the writing of dozens of Apache modules, mostly in Perl. (C is covered in less detail, but it's all there.) You'll learn how to write modules for every Apache request stage. The Perl code is technically excellent and well-formatted, and they don't shy away from using useful CPAN modules. Database examples use the free and popular MySQL. No matter what kind of Apache module you're thinking about writing, this book will surely have an example that will get you started, and the reference section will keep you going. I have read literally dozens of O'Reilly books, and this is among the very best they've ever done.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
13 of 15 people found the following review helpful:
5.0 out of 5 stars Great book!, February 3, 2000
By Vlad Khokholkov (Montreal, Canada.) - See all my reviews
Anybody who is interested in writing apache modules, MUST buy this book...

Its very straight forward, focuses only on things that are related to writing modules in both Perl and C, and has very useful functions index, you can look up a function or a constant, the book explains all methods and gives examples on how to use tricky ones...

I mostly use it for my C modules, and found very easy example of parsing ARGs of query strings, which is to my surprise not in apache lib...

I am impressed.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

3.0 out of 5 stars Outdated, but still helpful
Helpful for getting your head around the principles of Apache modules, but for modern API reference, see Apache's online docs.
Published on January 23, 2007 by William Baker

4.0 out of 5 stars Good Perl Apache Module Reference
While this book is a bit outdated and technology has greatly changed since this text was released in 1999, this is still a solid reference for anyone that works with Apache and... Read more
Published on September 20, 2006 by Daniel McKinnon

5.0 out of 5 stars best $2.00 I ever spent!
I bought this book awhile ago USED here on Amazon (for $2.00!), and it was worth every penny!

Although this book is old, it has some useful reference material that... Read more
Published on May 26, 2006 by Sean O'Donnell

4.0 out of 5 stars A good book for Perl modules for Apache.
Not much there for C, although it's not too difficult to make use of the Perl topics and covert them to C, it's more geared towards Perl (much more). That's too bad. Read more
Published on May 11, 2003 by Tim Greer

1.0 out of 5 stars If you want C don't bother with this book
It's all in Perl. The book says "Apache Modules with Perl and C" but really, it's all in Perl. Read more
Published on March 2, 2003 by kjackson1997

5.0 out of 5 stars My personal favorite reference
_Writing Apache Modules_ (WAM) is a high quality work, even amongst other O'Reilly books. Few/no typos and articulate writing, very usable index and good content organization,... Read more
Published on December 19, 2002 by Steven Haryanto

3.0 out of 5 stars A 5,000 piece jigsaw puzzle for you to assemble yourself
A good tutorial starts out with something basic and gradually builds on it. This book starts out with three chapters of pure reference material. Read more
Published on April 8, 2002 by Percy Smogg

5.0 out of 5 stars unique and well done
Writing Apache Modules is a rather arcane specialty; with so many excellent free modules already available, most people can find more than the need with some simple... Read more
Published on May 23, 2001 by Mark Eichin

5.0 out of 5 stars An Education for Web Developers
This book is a pleasure to read. It provides information on web development on the Apache/Perl platform in a very accessible and entertaining form without being dumbed down. Read more
Published on March 25, 2001 by Edmund Mcguigan

5.0 out of 5 stars Excellent book
Doug and Lincoln's book is outstanding. I had no idea Apache could do so much. The book is also wonderful simply for the perl parts of the examples. Read more
Published on September 10, 1999

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
  Discussion Replies Latest Post
C# or Java? 32 7 days ago
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Have a shopping question?
Try askville. It's free!
Get answers from real people in areas like health, books, parenting, relationships



 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 

Buy Three Books, Get a Fourth Free

4-for-3 Books
Order any four eligible books under $10 and get the lowest-price book free in our 4-for-3 Books Store. See more details.
 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.



Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
Glenn Beck's Common Sense
Glenn Beck's Common Sense

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates