From 703a4b54d3c93cfae872f56f522aaa6626ac9239 Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Mon, 2 Nov 2009 20:36:30 +0000 Subject: [PATCH] Long ago, I split the rewrite guide into simple and advanced. This was, in retrospect, this seems like a bad idea. Re-merging those two documents, and creating containers for what the docs list has suggested as various new categories for these rules. I expect there will be others. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832094 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/rewrite/access.html | 5 + docs/manual/rewrite/access.html.en | 45 + docs/manual/rewrite/access.xml | 47 + docs/manual/rewrite/access.xml.meta | 12 + docs/manual/rewrite/avoid.html | 5 + docs/manual/rewrite/avoid.html.en | 49 + docs/manual/rewrite/avoid.xml | 51 + docs/manual/rewrite/avoid.xml.meta | 12 + docs/manual/rewrite/remapping.html | 5 + docs/manual/rewrite/remapping.html.en | 44 + docs/manual/rewrite/remapping.xml | 46 + docs/manual/rewrite/remapping.xml.meta | 12 + docs/manual/rewrite/rewrite_guide.html.en | 1240 ++++++++++++++++ docs/manual/rewrite/rewrite_guide.xml | 1229 ++++++++++++++++ .../rewrite/rewrite_guide_advanced.html.en | 1244 +---------------- .../manual/rewrite/rewrite_guide_advanced.xml | 1228 ---------------- 16 files changed, 2804 insertions(+), 2470 deletions(-) create mode 100644 docs/manual/rewrite/access.html create mode 100644 docs/manual/rewrite/access.html.en create mode 100644 docs/manual/rewrite/access.xml create mode 100644 docs/manual/rewrite/access.xml.meta create mode 100644 docs/manual/rewrite/avoid.html create mode 100644 docs/manual/rewrite/avoid.html.en create mode 100644 docs/manual/rewrite/avoid.xml create mode 100644 docs/manual/rewrite/avoid.xml.meta create mode 100644 docs/manual/rewrite/remapping.html create mode 100644 docs/manual/rewrite/remapping.html.en create mode 100644 docs/manual/rewrite/remapping.xml create mode 100644 docs/manual/rewrite/remapping.xml.meta diff --git a/docs/manual/rewrite/access.html b/docs/manual/rewrite/access.html new file mode 100644 index 0000000000..dad5faec44 --- /dev/null +++ b/docs/manual/rewrite/access.html @@ -0,0 +1,5 @@ +# GENERATED FROM XML -- DO NOT EDIT + +URI: access.html.en +Content-Language: en +Content-type: text/html; charset=ISO-8859-1 diff --git a/docs/manual/rewrite/access.html.en b/docs/manual/rewrite/access.html.en new file mode 100644 index 0000000000..d04cf74058 --- /dev/null +++ b/docs/manual/rewrite/access.html.en @@ -0,0 +1,45 @@ + + + +Using mod_rewrite to control access - Apache HTTP Server + + + + + +
<-
+
+Apache > HTTP Server > Documentation > Version 2.3 > Rewrite

Using mod_rewrite to control access

+
+

Available Languages:  en 

+
+ + +

This document supplements the mod_rewrite +reference documentation. It describes +how you can use mod_rewrite to control access to +various resources, and other related techniques. +This includes many examples of common uses of mod_rewrite, +including detailed descriptions of how each works.

+ +

Note that many of these examples won't work unchanged in your +particular server configuration, so it's important that you understand +them, rather than merely cutting and pasting the examples into your +configuration.

+ +
+ +
+
+

Available Languages:  en 

+
+ \ No newline at end of file diff --git a/docs/manual/rewrite/access.xml b/docs/manual/rewrite/access.xml new file mode 100644 index 0000000000..1c9c976b9c --- /dev/null +++ b/docs/manual/rewrite/access.xml @@ -0,0 +1,47 @@ + + + + + + + + + Rewrite + +Using mod_rewrite to control access + + + +

This document supplements the mod_rewrite +reference documentation. It describes +how you can use mod_rewrite to control access to +various resources, and other related techniques. +This includes many examples of common uses of mod_rewrite, +including detailed descriptions of how each works.

+ +

Note that many of these examples won't work unchanged in your +particular server configuration, so it's important that you understand +them, rather than merely cutting and pasting the examples into your +configuration.

+ +
+Module documentation +mod_rewrite introduction + + +
diff --git a/docs/manual/rewrite/access.xml.meta b/docs/manual/rewrite/access.xml.meta new file mode 100644 index 0000000000..14bd6b6048 --- /dev/null +++ b/docs/manual/rewrite/access.xml.meta @@ -0,0 +1,12 @@ + + + + + access + /rewrite/ + .. + + + en + + diff --git a/docs/manual/rewrite/avoid.html b/docs/manual/rewrite/avoid.html new file mode 100644 index 0000000000..c45209be5b --- /dev/null +++ b/docs/manual/rewrite/avoid.html @@ -0,0 +1,5 @@ +# GENERATED FROM XML -- DO NOT EDIT + +URI: avoid.html.en +Content-Language: en +Content-type: text/html; charset=ISO-8859-1 diff --git a/docs/manual/rewrite/avoid.html.en b/docs/manual/rewrite/avoid.html.en new file mode 100644 index 0000000000..9a46449a24 --- /dev/null +++ b/docs/manual/rewrite/avoid.html.en @@ -0,0 +1,49 @@ + + + +When not to use mod_rewrite - Apache HTTP Server + + + + + +
<-
+
+Apache > HTTP Server > Documentation > Version 2.3 > Rewrite

When not to use mod_rewrite

+
+

Available Languages:  en 

+
+ + +

This document supplements the mod_rewrite +reference documentation. It describes +perhaps one of the most important concepts about mod_rewrite - namely, +when to avoid using it.

+ +

mod_rewrite should be considered a last resort, when other +alternatives are found wanting. Using it when there are simpler +alternatives leads to configurations which are confusing, fragile, and +hard to maintain. Understanding what other alternatives are available is +a very important step towards mod_rewrite mastery.

+ +

Note that many of these examples won't work unchanged in your +particular server configuration, so it's important that you understand +them, rather than merely cutting and pasting the examples into your +configuration.

+ +
+ +
+
+

Available Languages:  en 

+
+ \ No newline at end of file diff --git a/docs/manual/rewrite/avoid.xml b/docs/manual/rewrite/avoid.xml new file mode 100644 index 0000000000..ad34c509f2 --- /dev/null +++ b/docs/manual/rewrite/avoid.xml @@ -0,0 +1,51 @@ + + + + + + + + + Rewrite + +When not to use mod_rewrite + + + +

This document supplements the mod_rewrite +reference documentation. It describes +perhaps one of the most important concepts about mod_rewrite - namely, +when to avoid using it.

+ +

mod_rewrite should be considered a last resort, when other +alternatives are found wanting. Using it when there are simpler +alternatives leads to configurations which are confusing, fragile, and +hard to maintain. Understanding what other alternatives are available is +a very important step towards mod_rewrite mastery.

+ +

Note that many of these examples won't work unchanged in your +particular server configuration, so it's important that you understand +them, rather than merely cutting and pasting the examples into your +configuration.

+ +
+Module documentation +mod_rewrite introduction + + +
diff --git a/docs/manual/rewrite/avoid.xml.meta b/docs/manual/rewrite/avoid.xml.meta new file mode 100644 index 0000000000..c8743eb9b9 --- /dev/null +++ b/docs/manual/rewrite/avoid.xml.meta @@ -0,0 +1,12 @@ + + + + + avoid + /rewrite/ + .. + + + en + + diff --git a/docs/manual/rewrite/remapping.html b/docs/manual/rewrite/remapping.html new file mode 100644 index 0000000000..5f04461b09 --- /dev/null +++ b/docs/manual/rewrite/remapping.html @@ -0,0 +1,5 @@ +# GENERATED FROM XML -- DO NOT EDIT + +URI: remapping.html.en +Content-Language: en +Content-type: text/html; charset=ISO-8859-1 diff --git a/docs/manual/rewrite/remapping.html.en b/docs/manual/rewrite/remapping.html.en new file mode 100644 index 0000000000..c95321f17f --- /dev/null +++ b/docs/manual/rewrite/remapping.html.en @@ -0,0 +1,44 @@ + + + +Redirecting and Remapping with mod_rewrite - Apache HTTP Server + + + + + +
<-
+
+Apache > HTTP Server > Documentation > Version 2.3 > Rewrite

Redirecting and Remapping with mod_rewrite

+
+

Available Languages:  en 

+
+ + +

This document supplements the mod_rewrite +reference documentation. It describes +how you can use mod_rewrite to redirect and remap +request. This includes many examples of common uses of mod_rewrite, +including detailed descriptions of how each works.

+ +

Note that many of these examples won't work unchanged in your +particular server configuration, so it's important that you understand +them, rather than merely cutting and pasting the examples into your +configuration.

+ +
+ +
+
+

Available Languages:  en 

+
+ \ No newline at end of file diff --git a/docs/manual/rewrite/remapping.xml b/docs/manual/rewrite/remapping.xml new file mode 100644 index 0000000000..036467d71f --- /dev/null +++ b/docs/manual/rewrite/remapping.xml @@ -0,0 +1,46 @@ + + + + + + + + + Rewrite + +Redirecting and Remapping with mod_rewrite + + + +

This document supplements the mod_rewrite +reference documentation. It describes +how you can use mod_rewrite to redirect and remap +request. This includes many examples of common uses of mod_rewrite, +including detailed descriptions of how each works.

+ +

Note that many of these examples won't work unchanged in your +particular server configuration, so it's important that you understand +them, rather than merely cutting and pasting the examples into your +configuration.

+ +
+Module documentation +mod_rewrite introduction + + +
diff --git a/docs/manual/rewrite/remapping.xml.meta b/docs/manual/rewrite/remapping.xml.meta new file mode 100644 index 0000000000..2cffce562f --- /dev/null +++ b/docs/manual/rewrite/remapping.xml.meta @@ -0,0 +1,12 @@ + + + + + remapping + /rewrite/ + .. + + + en + + diff --git a/docs/manual/rewrite/rewrite_guide.html.en b/docs/manual/rewrite/rewrite_guide.html.en index 194cf3643a..1463ba8dee 100644 --- a/docs/manual/rewrite/rewrite_guide.html.en +++ b/docs/manual/rewrite/rewrite_guide.html.en @@ -60,6 +60,24 @@
  • Forbidding Image "Hotlinking"
  • Proxy Deny
  • External Rewriting Engine
  • +
  • Web Cluster with Consistent URL Space
  • +
  • Structured Homedirs
  • +
  • Filesystem Reorganization
  • +
  • Redirect Failing URLs to Another Web Server
  • +
  • Archive Access Multiplexer
  • +
  • Browser Dependent Content
  • +
  • Dynamic Mirror
  • +
  • Reverse Dynamic Mirror
  • +
  • Retrieve Missing Data from Intranet
  • +
  • Load Balancing
  • +
  • New MIME-type, New Service
  • +
  • On-the-fly Content-Regeneration
  • +
  • Document With Autorefresh
  • +
  • Mass Virtual Hosting
  • +
  • Host Deny
  • +
  • Proxy Deny
  • +
  • Special Authentication Variant
  • +
  • Referer-based Deflector
  • See also