This final chapter discusses the rewrite log, as well as other methods for debugging your rewrite rules and regular expressions. The rewrite log can also be good for optimizing these rules, by figuring out how they are actually being evaluated.

Many of the techniques discussed in this chapter assume that you are the administrator on your own server, or that you at least have a shell account and access to basic command-line tools. If this is not the case, then it will be in your best interest to install Apache on your desktop system and do this troubleshooting locally before moving content and rewrite rule sets up to your server. Of course, experimentation ...

Get The Definitive Guide to Apache mod_rewrite now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.