Start reading The Definitive Guide to Apache mod_rewrite on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here or start reading now with a free Kindle Reading App.

Deliver to your Kindle or other device


Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Sorry, this item is not available in
Image not available for
Image not available

The Definitive Guide to Apache mod_rewrite (Definitive Guides) [Kindle Edition]

Rich Bowen
5.0 out of 5 stars  See all reviews (4 customer reviews)

Kindle Price: £33.16 includes VAT* & free wireless delivery via Amazon Whispernet
* Unlike print books, digital books are subject to VAT.

Free Kindle Reading App Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.

To get the free app, enter your e-mail address or mobile phone number.


Amazon Price New from Used from
Kindle Edition £33.16  
Hardcover £47.11  
Perfect Paperback --  
Kindle Daily Deal
Kindle Daily Deal: Up to 70% off
Each day we unveil a new book deal at a specially discounted price--for that day only. Learn more about the Kindle Daily Deal or sign up for the Kindle Daily Deal Newsletter to receive free e-mail notifications about each day's deal.

Book Description

Organizing websites is highly dynamic and often chaotic. Thus, it is crucial that host web servers manipulate URLs in order to cope with temporarily or permanently relocated resources, prevent attacks by automated worms, and control resource access.

The Apache mod_rewrite module has long inspired fits of joy because it offers an unparalleled toolset for manipulating URLs. The Definitive Guide to Apache mod_rewrite guides you through configuration and use of the module for a variety of purposes, including basic and conditional rewrites, access control, virtual host maintenance, and proxies.

This book was authored by Rich Bowen, noted Apache expert and Apache Software Foundation member, and draws on his years of experience administering, and regular speaking and writing about, the Apache server.

Product details

  • Format: Kindle Edition
  • File Size: 1424 KB
  • Print Length: 160 pages
  • Publisher: Apress; 1 edition (7 Feb. 2006)
  • Sold by: Amazon Media EU S.à r.l.
  • Language: English
  • ASIN: B001D4SRNE
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (4 customer reviews)
  • Amazon Bestsellers Rank: #568,552 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?

More About the Author

Discover books, learn about writers, and more.

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4 star
3 star
2 star
1 star
5.0 out of 5 stars
5.0 out of 5 stars
Most Helpful Customer Reviews
6 of 6 people found the following review helpful
Rich Bowen (also author of Apache Server Unleashed, The Apache Administror's Handbook and The Apache Cookbook) clearly knows his stuff and guides the reader through the module with ease, introducing key concepts as he goes. There are times, however, when to me the book feels as though it is aimed just a bit too much at the beginner to be a truly definitive guide to the module. This doesn't mean I don't like the book though - I think it's fantastic and it really should be on everyone's reading list if they're seriously wanting to learn how to use mod_rewrite.

The book assumes absolutely no prior knowledge of the mod_rewrite module, and is broken up into an easy to digest 12 step programme which will get you using the module in no time at all.
Comment | 
Was this review helpful to you?
5.0 out of 5 stars Excellent: A Clear and Concise Guide 21 May 2014
Format:Hardcover|Verified Purchase
To be honest I was quite apprehensive about reading this book which bought it in desperation after trying to configure my website urls in .htaccess using snippets of information found on the internet. I was expecting a tomb of unfathomable information, but instead this book explains everything clearly with numerous detailed examples. While I'm still not an expert I learnt enough to understand what my mod_rewrite rules were actually doing and was able to configure my website urls to display as I wanted them to. Thanks to the Author, Rich Bowen for an indispensible guide. John
Comment | 
Was this review helpful to you?
I have to say that this is one of my favourite books of all time. (Which probably marks me out as a bit of a geek, but oh well.)

I bought it a few years back when first trying to modify the RewriteCond / RewriteRule bits of the .htaccess files on the various websites that I run. I've been referring to it ever since.

It takes you through everything you need to know and explains it all very clearly. Thanks, Rich Bowen, for a great book!
Comment | 
Was this review helpful to you?
By S. Keay
Format:Hardcover|Verified Purchase
The second hand book market for those of us who still like to read a real book. Rich is extremely reliable and very prompt
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on (beta) 4.1 out of 5 stars  11 reviews
11 of 12 people found the following review helpful
5.0 out of 5 stars mod_rewrite explained very well 23 Mar. 2006
By deoren - Published on
Format:Hardcover|Verified Purchase
When I first came across RewriteRule directives I was mostly horrified. It was only because I was learning about Perl Regular Expressions at the time that I didn't make the sign of a cross at the stuff and just go another direction. But I realized that the power I craved came at a cost.

I admit that I had did the whole "trial and error" thing coupled with scouring the net for examples before I realized having a book would make things so much easier. So I resorted to searching Amazon for mod_rewrite. This is the only book that my search turned up.

I have to say the book was definitely well worth it. The tips about when to NOT use mod_rewrite was very much appreciated. Some of my uses could have been accomplished with a FilesMatch or DirectoryMatch directives instead of a RewriteRule.

The VirtualHosts chapter was useful, as was the Proxy chapter. I didn't realize how useful mod_proxy was until this chapter gave a few good examples.

All in all I'm very satisfied with this book. Because of the short length I was worried that it wouldn't cover the material well enough. However I don't think there is anything I've needed to do with mod_rewrite that this book didn't cover well enough for me to accomplish without another resource.
8 of 8 people found the following review helpful
4.0 out of 5 stars "Definitive" might be stretching it a bit 10 Oct. 2007
By HugeStakkaBoFan - Published on
Format:Hardcover|Verified Purchase
The freely available online documentation for mod_rewrite is a great deal more "definitive" than this book could ever hope to be, but it's also a great deal more difficult to navigate and read. This book is considerably more human friendly and un-man-page-like, and even if it doesn't contain a specific solution for your particular problem, it will at least point you in the right direction so you have some general idea of where to look in the official docs.
12 of 14 people found the following review helpful
4.0 out of 5 stars A good start 15 Mar. 2006
By M. Overweg - Published on
Having only about 140 pages, I wouldn't call this 'The Definitive Guide'. Even though I read it cover to cover and mod_rewrite is a relatively small subject, there are still some unanswered questions.

Still, the book contains easy to read explanations, a quick primer on Regular Expressions, recipes, and - very important - examples of problems that should NOT be solved with mod_rewrite because there is an easier way to do it.

So for those that are no experts yet and thus far had to consult the (not very user-friendly) official documentation on the Apache website, this book is certainly a good introduction.
4 of 4 people found the following review helpful
5.0 out of 5 stars Great for programmers AND webmasters! 29 April 2008
By Mscott - Published on
This book is perfect for programmers AND webmasters! Before reading this book I had very limited knowledge of what mod rewrite was or how it worked. After I finished it I was able to:

1. Make search engine friendly URLs (dynamically generated by my site) work.

2. Block bad bots and remote file inclusion attempts.

3. Rename pages or move them seamlessly.

I would recommend this book to anyone, it was easy to understand even from the point of view of someone just starting out.
7 of 9 people found the following review helpful
5.0 out of 5 stars Welcomed alternative to the obscure official documentation 30 May 2006
By Foti Massimo - Published on
Format:Hardcover|Verified Purchase
mod_rewrite is a powerful tool, but, unfortunately, it has always been poorly documented and its somewhat arcane syntax makes things even worst. Bowen offers a very welcomed alternative to the obscure official documentation. Be advised a decent understanding of Regular Expressions is required to fully leverage mod_rewrite
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

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

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category