The Definitive Guide to Apache mod_rewrite (Definitive Guide)

  Author:    Rich Bowen
  ISBN:    1590595610
  Sales Rank:    139710
  Published:    2006-02-08
  Publisher:    Apress
  # Pages:    160
  Binding:    Paperback
  Avg. Rating:    5.0 based on 8 reviews
  Used Offers:    8 from $37.49
  Amazon Price:    $39.99
  (Data above last updated:  2008-09-06 04:33:44 EST)
  
  
Sort customer reviews by:
  
Show All Reviews on Page      Hide All Reviews on Page
   
  
The Definitive Guide to Apache mod_rewrite (Definitive Guide)
  

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.

                  Reader Reviews 1 - 8 of 8                 
  
  
Review
Date
Review
Rating(5 High)
Review
Helpful
to:
Customer Review Reviewer
Info
Permanent
Link
Reader Reviews Below Sorted by Newest First
04-29-08 5 1\1
(Hide Review...)  Great for programmers AND webmasters!
Reviewer Permalink
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.
(Review Data Last Updated: 2008-09-06 04:34:30 EST)
10-10-07 4 2\2
(Hide Review...)  "Definitive" might be stretching it a bit
Reviewer Permalink
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.
(Review Data Last Updated: 2008-04-29 04:47:08 EST)
08-21-07 3 1\1
(Hide Review...)  Just read the online documentation
Reviewer Permalink
I was very disappointed with this book. The information inside is so basic and cursory that you're bound to quickly run into situations more advanced than the contents can cover.

For instance, it doesn't deal at all with using a rewritemap within a rewritecond, and it only gives one small paragraph to rewritecond backreferences. I've spent the last few weeks scouring the internet for details about mod_rewrite, and there's very little documentation.

This book, at most, aggregates that documentation in one place. To call it the "definitive guide" is a bit much.
(Review Data Last Updated: 2007-10-11 01:34:29 EST)
06-27-06 5 2\4
(Hide Review...)  Definitely definitive
Reviewer Permalink
The Definitive Guide to Apache mod_rewrite by Rich Bowen leaves nothing to be desired. After pointing out when not to use mod_rewrite, a chapter on regular expressions and one on installing and configuring mod_rewrite (both statically and as a dynamic object), the author digs right in to the RewriteRule directive with clear examples for doing simple and more complex redirection. Chapter five expands on those rules with the RewriteCond directive illustrating its strength with time-based redirection (different pages day & night) and how to solve the "image theft" problem, and chapter six lays out the RewriteMap directive which allows to map URLs based on external data; I again found some very good examples here.

The next two chapters cover real-world examples which include adjusting URLs, reorganization of content, forcing SSL, and serving content based on a username. Access control, virtual hosts (yes, using mod_rewrite!), proxying and debugging make up the remaining chapters which are packed full of information (a lot of which I didn't know about).

I think that The Definitive Guide to Apache mod_rewrite really is just that: definitive. It is a must have for any systems administrator who wants to use mod_rewrite on an Apache web server, and I strongly recommend it.
(Review Data Last Updated: 2007-08-22 13:26:07 EST)
05-31-06 5 (NA)
(Hide Review...)  Great way to learn how to make Apache adapt to your needs
Reviewer Permalink
Apache is the most commonly employed web server software on the Internet. While it is powerful and flexible out of the box your needs may require more advanced security, virtual web servers, flexibility or other items that can easily be changed. The ability to use mod_rewrite allows you to rewrite your URL in many ways so that it works the way you want it to. Among its other capabilities it allows you to set up Mass Virtual Hosting and rearrange your site with ease. And for those of us who love the Linux world the use of regular expressions allows a lot of flexibility. Some of the more powerful features include the ability to use conditional rewrites (the content is different based on usernames), force users to enter the site only through the main page, limit user access to particular directories, prevent spider access, and prevent image theft. The Definitive Guide to Apache mod_rewrite is a highly recommended introduction to this very popular but vastly under-documented program.
(Review Data Last Updated: 2006-07-11 04:12:50 EST)
05-30-06 5 (NA)
(Hide Review...)  Welcomed alternative to the obscure official documentation
Reviewer Permalink
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
(Review Data Last Updated: 2006-07-11 04:12:50 EST)
03-23-06 5 (NA)
(Hide Review...)  mod_rewrite explained very well
Reviewer Permalink
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.
(Review Data Last Updated: 2006-07-07 08:24:45 EST)
03-15-06 4 3\3
(Hide Review...)  A good start
Reviewer Permalink
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.
(Review Data Last Updated: 2006-07-07 08:24:45 EST)
  
                  Reader Reviews 1 - 8 of 8                 
  
  
  
  
  
  

Because the data used to generate this site come from outside sources, VeryWellSaid.com cannot guarantee the completeness or accuracy of the data.
Search VeryWellSaid™
Google
Web VeryWellSaid™
New subjects are added every week.
View Subjects Below by:
* Top Selling
 (click category name, left)
* Top-Rated Top Sellers
 (click 'Top Rated', right)
In the news...  
Dubai\UAE Top Rated
Influenza\Bird Flu Top Rated
Iraq Top Rated
Supreme Court Top Rated
All Books Top Rated
Arts Top Rated
Photography Top Rated
Digital Photography Top Rated
Digital Cameras Top Rated
Biography Top Rated
Business Top Rated
Management Top Rated
Marketing Top Rated
Sales Top Rated
Stocks Top Rated
Bonds Top Rated
Real Estate Top Rated
Trading Top Rated
Commodities Trading Top Rated
Time Management Top Rated
Starting A Business Top Rated
Children's Top Rated
Comics Top Rated
Computers Top Rated
PC Top Rated
Mac Top Rated
Programming Top Rated
Design Patterns Top Rated
.Net Top Rated
C# Top Rated
Vb.Net Top Rated
Asp.Net Top Rated
Java Top Rated
Python Top Rated
PHP Top Rated
Perl Top Rated
Javascript Top Rated
Ajax Top Rated
CSS Top Rated
Open Source Top Rated
SQL Top Rated
Databases Top Rated
Oracle Top Rated
MySql Top Rated
Sql Server Top Rated
IIS Top Rated
Apache Top Rated
Linux Top Rated
Windows Server Top Rated
Project Management Top Rated
HTML Top Rated
UML Top Rated
IT Certifications Top Rated
Cisco Certifications Top Rated
MCSE Top Rated
MCSD Top Rated
Cooking Top Rated
Italian Cooking Top Rated
Vegetarian Cooking Top Rated
Wine Top Rated
Engineering Top Rated
Entertainment Top Rated
Health Top Rated
Nutrition Top Rated
Dieting Top Rated
Sex Top Rated
History Top Rated
Military History Top Rated
British History Top Rated
Middle East History Top Rated
Land Battles Top Rated
Naval Warfare Top Rated
Air Warfare Top Rated
9/11 Top Rated
Terrorism Top Rated
Home Top Rated
Mortgage\Home Equity Loan Top Rated
Cars Top Rated
Car Buying Top Rated
Sports Cars Top Rated
Cat Top Rated
Humor Top Rated
Horror Top Rated
Law Top Rated
IP Law Top Rated
Legal History Top Rated
Fiction Top Rated
Oprah's Book Club Top Rated
Medicine Top Rated
Cancer Top Rated
Stroke Top Rated
Heart Disease Top Rated
Fertility Top Rated
Diabetes Top Rated
Pharmacology Top Rated
Back Problems Top Rated
Menopause Top Rated
Thyroid Top Rated
Pain Top Rated
Organic Chemistry Top Rated
Immune System Top Rated
Mystery Top Rated
Nonfiction Top Rated
Outdoors Top Rated
Running Top Rated
Radio Control Models Top Rated
Guns Top Rated
Parenting Top Rated
Divorce Top Rated
Professional Top Rated
Reference Top Rated
Religion Top Rated
Romance Top Rated
Science Top Rated
Physics Top Rated
Chemistry Top Rated
Astronomy Top Rated
Psychology Top Rated
Science Fiction Top Rated
Sports Top Rated
Teens Top Rated
Travel Top Rated
USA Top Rated
Europe Top Rated
France Top Rated
Italy Top Rated
England Top Rated
China Top Rated
All Books Arts Biography Click Here For An A-Z Index Of All 213 Best-Seller Subjects Business Children's Comics
Computers Cooking Engineering Entertainment Health History Home Horror Humor Law Fiction Medicine Mystery
Nonfiction Outdoors Parenting Professional Reference Religion Romance Science Sci-Fi Sports Teens Travel
In Association with Amazon.com

Cache miss
(not cached)