Skip to main content

You are here

The Definitive Guide to Apache mod_rewrite

I'm sure we've all at some point in time, had Google'd for a particular mod_rewrite rule to solve some particular URL rewrite problem that we wanted to fix or implement. The book Definitive Guide to Apache mod_rewrite aims to help us understand what each line in an mod_rewrite conditional rule set means. Unlike other technical books, what makes this book unique is that it has a strong focus on when NOT to use mod_rewrite. The chapters are well structure, the content builds upon each chapter you finish reading. Much of the information provided by this book can be found on the official mod_rewrite documentation, however this book goes beyond the documentation providing easy to understand examples following up each topic.

One important thing to keep in mind prior to reading this book. Although this book has a chapter dedicated to regular expressions, in order to effectively use mod_rewrite, it is extremely important that you fully understand how regular expressions work. Thus said, this short comprehensive book is practically all you need to become a mod_rewrite ninja. I've been working with mod_rewrite for quite some time now, and even I learned new tricks thanks to this book.

Chapter 1: An Introduction to mod_rewrite
Chapter 2: Regular Expressions
Chapter 3: Installing and Configuring mod_rewrite
Chapter 4: The RewriteRule Directive
Chapter 5: The RewriteCond Directive
Chapter 6: The RewriteMap Directive
Chapter 7: Basic Rewrites
Chapter 8: Conditional Rewrites
Chapter 9: Access Control
Chapter 10: Virtual Hosts
Chapter 11: Proxying
Chapter 12: Debugging

The only downside to this book is it's price. Apress seriously needs to lower the prices of their books, $41.99 for an E-Book is utterly ridiculous, especially since their competitors offer identical books for half their price.

Rating: 4/5
The Definitive Guide to Apache mod_rewrite


Premium Drupal Themes by Adaptivethemes