From bf8ac7551058df22dd5eb712631d9e383fc587a5 Mon Sep 17 00:00:00 2001 From: "barnboy%trilobyte.net" <> Date: Wed, 22 Aug 2001 10:44:14 +0000 Subject: Big checkin of docs to resolve every known outstanding doc bug! Yay release. Still many things to fix. Aren't there always? --- docs/html/rewrite.html | 191 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 191 insertions(+) create mode 100644 docs/html/rewrite.html (limited to 'docs/html/rewrite.html') diff --git a/docs/html/rewrite.html b/docs/html/rewrite.html new file mode 100644 index 000000000..053474069 --- /dev/null +++ b/docs/html/rewrite.html @@ -0,0 +1,191 @@ +Apache mod_rewrite magic
The Bugzilla Guide
PrevAppendix D. Useful Patches and Utilities for BugzillaNext

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.

  1. 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:

    <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 http://www.apache.org


PrevHomeNext
Useful Patches and Utilities for BugzillaUpThe setperl.csh Utility
\ No newline at end of file -- cgit v1.2.3-24-g4f1b