diff options
author | barnboy%trilobyte.net <> | 2001-08-22 12:44:14 +0200 |
---|---|---|
committer | barnboy%trilobyte.net <> | 2001-08-22 12:44:14 +0200 |
commit | bf8ac7551058df22dd5eb712631d9e383fc587a5 (patch) | |
tree | 8cf0b9bb7d0755c75266bd30cf7059d556a23703 /docs/html/rewrite.html | |
parent | f210bb460c786a31bc7677f0e547a67880997558 (diff) | |
download | bugzilla-bf8ac7551058df22dd5eb712631d9e383fc587a5.tar.gz bugzilla-bf8ac7551058df22dd5eb712631d9e383fc587a5.tar.xz |
Big checkin of docs to resolve every
known outstanding doc bug! Yay release.
Still many things to fix. Aren't there always?
Diffstat (limited to 'docs/html/rewrite.html')
-rw-r--r-- | docs/html/rewrite.html | 191 |
1 files changed, 191 insertions, 0 deletions
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 @@ +<HTML +><HEAD +><TITLE +>Apache mod_rewrite magic</TITLE +><META +NAME="GENERATOR" +CONTENT="Modular DocBook HTML Stylesheet Version 1.61 +"><LINK +REL="HOME" +TITLE="The Bugzilla Guide" +HREF="index.html"><LINK +REL="UP" +TITLE="Useful Patches and Utilities for Bugzilla" +HREF="patches.html"><LINK +REL="PREVIOUS" +TITLE="Useful Patches and Utilities for Bugzilla" +HREF="patches.html"><LINK +REL="NEXT" +TITLE="The setperl.csh Utility" +HREF="setperl.html"></HEAD +><BODY +CLASS="SECTION" +BGCOLOR="#FFFFFF" +TEXT="#000000" +LINK="#0000FF" +VLINK="#840084" +ALINK="#0000FF" +><DIV +CLASS="NAVHEADER" +><TABLE +WIDTH="100%" +BORDER="0" +CELLPADDING="0" +CELLSPACING="0" +><TR +><TH +COLSPAN="3" +ALIGN="center" +>The Bugzilla Guide</TH +></TR +><TR +><TD +WIDTH="10%" +ALIGN="left" +VALIGN="bottom" +><A +HREF="patches.html" +>Prev</A +></TD +><TD +WIDTH="80%" +ALIGN="center" +VALIGN="bottom" +>Appendix D. Useful Patches and Utilities for Bugzilla</TD +><TD +WIDTH="10%" +ALIGN="right" +VALIGN="bottom" +><A +HREF="setperl.html" +>Next</A +></TD +></TR +></TABLE +><HR +ALIGN="LEFT" +WIDTH="100%"></DIV +><DIV +CLASS="SECTION" +><H1 +CLASS="SECTION" +><A +NAME="REWRITE" +>D.1. Apache <TT +CLASS="FILENAME" +>mod_rewrite</TT +> magic</A +></H1 +><P +>Apache's <TT +CLASS="FILENAME" +>mod_rewrite</TT +> module lets you do some truly amazing things with URL rewriting. Here are a couple of examples of what you can do.</P +><P +></P +><OL +TYPE="1" +><LI +><P +> Make it so if someone types + <TT +CLASS="COMPUTEROUTPUT" +>http://www.foo.com/12345</TT +>, + 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:</P +><TABLE +BORDER="0" +BGCOLOR="#E0E0E0" +WIDTH="90%" +><TR +><TD +><FONT +COLOR="#000000" +><PRE +CLASS="PROGRAMLISTING" +><VirtualHost 12.34.56.78> +RewriteEngine On +RewriteRule ^/([0-9]+)$ http://foo.bar.com/show_bug.cgi?id=$1 [L,R] +</VirtualHost> + </PRE +></FONT +></TD +></TR +></TABLE +></LI +><LI +><P +>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 <A +HREF="http://www.apache.org" +TARGET="_top" +>http://www.apache.org</A +></P +></LI +></OL +></DIV +><DIV +CLASS="NAVFOOTER" +><HR +ALIGN="LEFT" +WIDTH="100%"><TABLE +WIDTH="100%" +BORDER="0" +CELLPADDING="0" +CELLSPACING="0" +><TR +><TD +WIDTH="33%" +ALIGN="left" +VALIGN="top" +><A +HREF="patches.html" +>Prev</A +></TD +><TD +WIDTH="34%" +ALIGN="center" +VALIGN="top" +><A +HREF="index.html" +>Home</A +></TD +><TD +WIDTH="33%" +ALIGN="right" +VALIGN="top" +><A +HREF="setperl.html" +>Next</A +></TD +></TR +><TR +><TD +WIDTH="33%" +ALIGN="left" +VALIGN="top" +>Useful Patches and Utilities for Bugzilla</TD +><TD +WIDTH="34%" +ALIGN="center" +VALIGN="top" +><A +HREF="patches.html" +>Up</A +></TD +><TD +WIDTH="33%" +ALIGN="right" +VALIGN="top" +>The setperl.csh Utility</TD +></TR +></TABLE +></DIV +></BODY +></HTML +>
\ No newline at end of file |