From d8caf6045d10344c431918128e3803ca497565f3 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Sun, 28 Jul 2002 05:00:17 +0000 Subject: Merging new docs from 2.16 branch. --- docs/html/rewrite.html | 62 ++++++++++++++++++++++++++++---------------------- 1 file changed, 35 insertions(+), 27 deletions(-) (limited to 'docs/html/rewrite.html') diff --git a/docs/html/rewrite.html b/docs/html/rewrite.html index b32ab9446..a64240d98 100644 --- a/docs/html/rewrite.html +++ b/docs/html/rewrite.html @@ -1,7 +1,10 @@ Apache mod_rewrite magicApache + mod_rewrite + + magicAppendix D. Useful Patches and Utilities for BugzillaAppendix C. Useful Patches and Utilities for BugzillaNext

D.1. Apache C.1. Apache + mod_rewrite magic

+ + magic

Apache's 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.

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

  1. Make it so if someone types - Make it so if someone types + http://www.foo.com/12345, - Bugzilla spits back - http://www.foo.com/show_bug.cgi?id=12345. Try setting up - your VirtualHost section for Bugzilla with a rule like - this:

    + + , Bugzilla spits back http://www.foo.com/show_bug.cgi?id=12345. Try + setting up your VirtualHost section for Bugzilla with a rule like + this:

    
    -<VirtualHost 12.34.56.78>
    +>
<VirtualHost 12.34.56.78>
     RewriteEngine On
     RewriteRule ^/([0-9]+)$ http://foo.bar.com/show_bug.cgi?id=$1 [L,R]
     </VirtualHost>
    -
    -	
  2. There are many, many more things you can do with - mod_rewrite. As time goes on, I will include many more in - the Guide. For now, though, please refer to the mod_rewrite - documentation at There are many, many more things you can do with mod_rewrite. + Please refer to the mod_rewrite documentation at + http://www.apache.org

    . +

  3. NextThe setperl.csh UtilityCommand-line Bugzilla Queries