From d7f381254270028c7d239463521005f576575151 Mon Sep 17 00:00:00 2001 From: "jake%acutex.net" <> Date: Sat, 19 Jan 2002 07:26:39 +0000 Subject: Latest version of compiled docs (picking up recent SGML changes). --- docs/html/rewrite.html | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'docs/html/rewrite.html') diff --git a/docs/html/rewrite.html b/docs/html/rewrite.html index 053474069..0fda21998 100644 --- a/docs/html/rewrite.html +++ b/docs/html/rewrite.html @@ -19,7 +19,7 @@ REL="NEXT" TITLE="The setperl.csh Utility" HREF="setperl.html">

D.1. Apache mod_rewrite magic

Apache's mod_rewrite module lets you do some truly amazing things with URL rewriting. Here are a couple of examples of what you can do.

  • Make it so if someone types +> Make it so if someone types http://www.foo.com/12345, Bugzilla spits back @@ -99,17 +99,19 @@ CLASS="COMPUTEROUTPUT" >
    <VirtualHost 12.34.56.78>
    +CLASS="programlisting"
    +>
    +<VirtualHost 12.34.56.78>
     RewriteEngine On
     RewriteRule ^/([0-9]+)$ http://foo.bar.com/show_bug.cgi?id=$1 [L,R]
     </VirtualHost>
    +