images

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.