Location:  Home » Books » The Definitive Guide to Apache mod_rewrite    

The Definitive Guide to Apache mod_rewrite

The Definitive Guide to Apache mod_rewriteAuthor: Rich Bowen
Publisher: Apress
Category: Book

List Price: $54.99
Buy New: $38.00
as of 9/5/2010 04:43 CDT details
You Save: $16.99 (31%)

In Stock


New (22) Used (10) from $37.00

Seller: oddesseyy
Rating: 4.5 out of 5 stars 8 reviews
Sales Rank: 716,764

Media: Hardcover
Edition: 1
Pages: 160
Number Of Items: 1
Shipping Weight (lbs): 1.3
Dimensions (in): 9.5 x 7.2 x 0.7

ISBN: 1590595610
Dewey Decimal Number: 005.71376
EAN: 9781590595619
ASIN: 1590595610

Publication Date: February 8, 2006
Availability: Usually ships in 1-2 business days

Also Available In:

  • Kindle Edition - The Definitive Guide to Apache mod_rewrite

Accessories:


Similar Items:


Editorial Reviews:

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:
Showing reviews 1-5 of 8



5 out of 5 stars mod_rewrite explained very well   March 23, 2006
Deoren (USA)
10 out of 11 found this review helpful

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.



5 out of 5 stars Welcomed alternative to the obscure official documentation   May 30, 2006
Foti Massimo (Vezia (Switzerland))
8 out of 10 found this review helpful

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


5 out of 5 stars Great for programmers AND webmasters!   April 29, 2008
Mscott (Orlando Florida)
2 out of 2 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.



5 out of 5 stars Definitely definitive   June 27, 2006
J. P. Mens (Germany, Europe)
7 out of 10 found this review helpful

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.



5 out of 5 stars Great way to learn how to make Apache adapt to your needs   May 31, 2006
Harold McFarland (Florida)
5 out of 8 found this review helpful

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.

Showing reviews 1-5 of 8



Copyright © 2009 Web Servers
apache  apress  computers  htaccess  mod_rewrite