Penguin

Differences between version 12 and previous revision of RewriteRules.

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 12 Last edited on Sunday, November 17, 2002 11:13:02 pm by CraigBox Revert
Older page: version 11 Last edited on Sunday, November 17, 2002 11:11:22 pm by CraigBox Revert
@@ -3,8 +3,13 @@
 For example, E -> TF (where E is an expression, T is a term and F is a factor) is a rewrite rule (in the context free grammar for a RegularExpression.) 
  
 Most people reading this page will be more interested in [Apache]'s rewrite rules, which let you take a horrible URL and rewrite it into a nice one. 
  
+mod_rewrite uses a rule-based rewriting engine (based on a regular-expression parser) to rewrite requested URLs on the fly. It supports an unlimited number of rules and an unlimited number of attached rule conditions for each rule to provide a really flexible and powerful URL manipulation mechanism. The URL manipulations can depend on various tests, for instance server variables, environment variables, HTTP headers, time stamps and even external database lookups in various formats can be used to achieve a really granular URL matching.  
+  
+"The great thing about mod_rewrite is it gives you all the configurability and flexibility of Sendmail. The downside to mod_rewrite is that it gives you all the configurability and flexibility of Sendmail." -- Brian Behlendorf, [Apache] Group  
+  
+See http://httpd.apache.org/docs/mod/mod_rewrite.html.  
  
 > On a related not I was mucking about with phpWiki and trying to get it to work the same way you have it set up. Ie, using path info based urls (eg, /wiki/!SomePageHere) and I couldn't get it to work. I'd be interested to know how you set yours up. 
  
 in the index.php "config" file: