1. Home
  2. Computing & Technology
  3. Web Design / HTML

mod_rewrite - Rewrite URLs with Apache Server

Learn how to rewrite URLs and take control of your Web server with the mod_rewrite module for Apache.
What is mod_rewrite and How Do You Use It?
Using mod_rewrite you can change the URLs that your customers are viewing on-the-fly. Your customer types in one URL and your Apache server interprets it using mod_rewrite to point to a different location or script. Custom URLs allow you to control and protect your Web site.
mod_rewrite Apache 2
The official documentation on mod_rewrite for Apache 2.
mod_rewrite Apache 1
The official documentation on mod_rewrite for Apache 1.
mod_rewrite: A Beginner's Guide to URL Rewriting
SitePoint provides an in-depth article on using mod_rewrite. This page of the article describes some actual rules you can use to rewrite URLs on your site.
Regular Expressions and mod_rewrite
Regular expressions are challenging, and they are a crucial part of mod_rewrite. But this forum post on mod_rewrite.com explains the basics of regular expressions that are used in mod_rewrite rules.
URL Rewriting Guide
This document from Apache and the man who came up with mod_rewrite helps you with some sample situations where you might use mod_rewrite. It shows clear examples so that you can learn how to use mod_rewrite.
mod_rewrite: A Beginner's Guide
This article covers the basics of mod_rewrite in a clear and easy to understand style.
The Definitive Guide to Apache mod_rewrite (Compare Prices)
This is a book that might help in getting more out of the Apache module mod_rewrite. Compare prices.

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. Web Server Management
  5. Apache
  6. mod_rewrite

©2008 About.com, a part of The New York Times Company.

All rights reserved.