1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-06 16:49:32 +03:00
Commit Graph

193 Commits

Author SHA1 Message Date
Rich Bowen
924fbe6290 starting back on some of the things I want to add to the rewrite docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@935537 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 11:53:38 +00:00
Rich Bowen
585e0c73cc Replace 'Apache' with contextually correct phrasing.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@934398 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 13:23:38 +00:00
Rich Bowen
7e9963acc1 Typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@921119 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 20:51:21 +00:00
Rich Bowen
0c1301a84a Encourage people to use Redirect rather than mod_rewrite.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@921116 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 20:49:59 +00:00
Eric Covener
bb3c771c85 elaborate on the T= limiation in per-directory rewrites for PR 36590
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@919977 13f79535-47bb-0310-9956-ffa450edef68
2010-03-07 12:34:17 +00:00
Graham Leggett
200db0e7c0 Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@905482 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 00:53:36 +00:00
Lucien Gentis
ceac8571d3 Updates and 2 little typos in manual/mod/mod_rewrite.xml.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@896921 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 16:40:21 +00:00
Rich Bowen
b134f9aac1 2009 -> 2010 in the copyright statement. Nobody seems to know if this is
actually necessary, but it's sort of an annual tradition. We think
tradition is pretty important.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@895795 13f79535-47bb-0310-9956-ffa450edef68
2010-01-04 21:41:42 +00:00
Rich Bowen
7b31471c47 Name this doc a little more clearly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@895619 13f79535-47bb-0310-9956-ffa450edef68
2010-01-04 13:12:13 +00:00
Rich Bowen
eef9d6547f version/compat messages on flags that have been recently added.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@895223 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02 16:30:59 +00:00
Rich Bowen
e9021c05de Adds helpful diagrams to the rewrite intro document, provided by Joseph
Pecoraro.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@895078 13f79535-47bb-0310-9956-ffa450edef68
2010-01-01 21:27:55 +00:00
André Malo
99b0e3bf24 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@895071 13f79535-47bb-0310-9956-ffa450edef68
2010-01-01 20:40:45 +00:00
Rich Bowen
372a051c4c Replace rewriterule/rewritecond flow diagram with a easier-to-read
version donated by Joseph Pecoraro.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@895068 13f79535-47bb-0310-9956-ffa450edef68
2010-01-01 20:31:05 +00:00
André Malo
5043839f0f don't use translations of example.com.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@895067 13f79535-47bb-0310-9956-ffa450edef68
2010-01-01 20:29:38 +00:00
Rich Bowen
84d0072585 I need to get around to writing this ...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@895061 13f79535-47bb-0310-9956-ffa450edef68
2010-01-01 20:11:16 +00:00
Rich Bowen
5da48520eb Removes duplication of the RewriteRule flags documentation. The module
doc contains a table of definitions. The rewrite flag doc contains
detailed explanations and examples.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@895060 13f79535-47bb-0310-9956-ffa450edef68
2010-01-01 20:02:30 +00:00
Rich Bowen
79dc8455cb Typo, and a few additional details.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@895052 13f79535-47bb-0310-9956-ffa450edef68
2010-01-01 18:53:24 +00:00
Rich Bowen
cebd6925e1 Makes each flag a top-level section in this doc, thereby giving it a
navigation link in the right navigation box. I think that makes this
page much more useful, particularly when it becomes the primary resource
for rewriterule flags and their use.
Also adds some detail on several of the flags.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@894539 13f79535-47bb-0310-9956-ffa450edef68
2009-12-30 03:54:10 +00:00
Rich Bowen
88e8db918d A few minor tweaks to the flags doc. Getting ready to rearrange the
flags in the main module doc vs this file.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@894533 13f79535-47bb-0310-9956-ffa450edef68
2009-12-30 02:41:17 +00:00
Rich Bowen
c4b0fa2f7d Adds a [QSD] flag to RewriteRule to discard unwanted query strings
without the old kludge of sticking a ? on the end of the target URI.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@894383 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 13:34:24 +00:00
Takashi Sato
c62fc40ffc update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@893876 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 17:17:34 +00:00
Lucien Gentis
e76a01353c Little typo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@890790 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 13:24:43 +00:00
Rich Bowen
941c8025b9 Don't capture matches if you're going to discard them - replaces ^(.+)
with just ^ for a rewrite rule that doesn't use $1.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@890412 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 17:51:51 +00:00
André Malo
d70cd375de update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@889970 13f79535-47bb-0310-9956-ffa450edef68
2009-12-12 20:12:15 +00:00
André Malo
73eaf989d9 fix properties
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@889969 13f79535-47bb-0310-9956-ffa450edef68
2009-12-12 20:10:15 +00:00
Rich Bowen
1322b469d2 We're going to need a separate document which discusses the question of
using mod_rewrite in .htaccess files - both the fact that it's not
required (as the current myth seems to hold) and the fact that things
are subtly more complicated in per-dir context.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@888624 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 23:17:49 +00:00
Lucien Gentis
716a232c0d Small typos.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@887557 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 16:24:35 +00:00
André Malo
a681f7e662 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@885297 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29 23:34:43 +00:00
Rich Bowen
2ee6350109 Moves the rewrite portion of the mass vhosts doc into the rewrite doc
tree. We don't actually want to encourage people to use mod_rewrite for
this anyways.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@884959 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 19:09:14 +00:00
Rich Bowen
e5e942e120 Adds links to the other new documents.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@884921 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 17:45:19 +00:00
Lucien Gentis
16e46bdfb0 Updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@883071 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 12:52:25 +00:00
André Malo
cc39ce520f update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@882998 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 21:32:13 +00:00
André Malo
8a4bf0685d fix validity problems
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@882994 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 21:16:25 +00:00
André Malo
449c3e8ae1 automatically replace LastChangedRevision
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@882991 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 21:00:44 +00:00
Rich Bowen
dcd7973909 Correct error. Patch from Lucien Gentis.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@882945 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 17:33:31 +00:00
Rich Bowen
13cec8a9d0 Starts on the vhosts document. Need to eliminate duplication with the
main /docs/vhosts/mass.html doc.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@882806 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 00:27:17 +00:00
Rich Bowen
bb4e2acc93 Adds vhosts and proxy docs, and updates the seealso sections in
everything. proxy only has one rule in it, and vhosts is empty. Will fix
that soon.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@882805 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 00:24:21 +00:00
Rich Bowen
ba4f21e6d6 Adds a 'rewrite everything' or 'fallback resource' rule.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@882797 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 00:07:26 +00:00
Rich Bowen
d152d310ef Flags patch from Igor Galić. Corrects error in noting what status codes
can be specified.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@882171 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 15:10:07 +00:00
Rich Bowen
a8d83f580a Remove more refences to rewrite_guide.html
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@881116 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 02:55:19 +00:00
Rich Bowen
98577e7f38 Remove references to the now-gone rewrite-guide.html
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@881113 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 02:52:53 +00:00
Rich Bowen
3aff21153e Moves the last of the rules from the monolithic rewrite_guide into
topic-specific sub-pages. Still a lot of cleanup and improvement can be
done, but this is a good first step.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@881110 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 02:44:19 +00:00
Rich Bowen
03af895d97 Moving yet another recipe. Almost done with this exercise.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@881091 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 01:56:34 +00:00
Rich Bowen
acb8dce5e2 Not sure this is actually a useful recipe, but it belongs in the access
file.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@880707 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 11:17:54 +00:00
Rich Bowen
f1b955eddd Removes another bogus example. Use <Proxy> blocks instead, and standard
access control methods. Also, the note about loading mod_rewrite before
mod_proxy isn't actually relevant any more.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@835827 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 12:40:58 +00:00
Rich Bowen
95a33e73d0 This is a really cool example, and I don't want to lose it. However, I'm
reasonably sure that there's easier ways to do this, and I'm not yet
sure that the example given actually works. Need to revisit this soon.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@835826 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 12:38:55 +00:00
Rich Bowen
18c9340030 Removes an inscrutable recipe - I don't know what problem it's trying to
solve, and the solution appears to be a completely useless use of
RewriteMap to solve a trivial problem that could be better done with
Alias. Am I missing something?


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@835824 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 12:36:04 +00:00
Rich Bowen
925dffec5b Corrects the page title.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@835365 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 12:35:04 +00:00
Rich Bowen
c32c165396 Removes a lengthy and unnecessary discussion of the various methods of
load balancing. Removes a RewriteMap prg load balancing script, and
replaces it with a RewriteMap rnd example of the same, as well as an
admonition to use mod_proxy_balancer instead.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@835364 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 12:30:05 +00:00
Rich Bowen
bf553f4e74 Corrects links to the reference documentation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@835360 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 12:10:26 +00:00