The Definitive Guide to Apache mod_rewrite (Definitive Guide)
 

Related Products



















Product Lists

The Definitive Guide to Apache mod_rewrite (Definitive Guide)

by Apress

$49.99
buy from amazon.com
Average Rating: * * * * half star
Sales Rank:293232 (lower is better)
Price Used:$36.49
Shipping:Free Shipping on most orders over $25*
Availability:Usually ships in 24 hours
Label:Apress
Pages:160
Binding:Hardcover
Publication Date:2006-02-08
Published By:Apress
ASIN:1590595610
Category:Book

Authors

Editorial Reviews and Product Descriptions

Product 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.

Customer Reviews

Great for programmers AND webmasters! - Reviewed on 2008-04-29
* * * * *
1 customer found this review helpful.

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.
"Definitive" might be stretching it a bit - Reviewed on 2007-10-10
* * * *
4 customers found this review helpful.

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.
Just read the online documentation - Reviewed on 2007-08-21
* * *
4 customers found this review helpful, 4 did not.

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.
Definitely definitive - Reviewed on 2006-06-27
* * * * *
7 customers found this review helpful, 2 did not.

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.
Great way to learn how to make Apache adapt to your needs - Reviewed on 2006-05-31
* * * * *
5 customers found this review helpful, 3 did not.

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.
Read More Customer Reviews »
Go To Amazon Product Page

* - See Amazon Product Page for shipping and pricing details.


Book Subjects