1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-13 21:42:17 +03:00
Commit Graph

47 Commits

Author SHA1 Message Date
Eric Covener
a455db0e9d Move some tweaked/re-tested recipes from https://wiki.apache.org/httpd/RewriteQueryString into the
extended doc for mod_rewrite.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1643531 13f79535-47bb-0310-9956-ffa450edef68
2014-12-06 14:13:44 +00:00
Rich Bowen
22f03d9c50 Remove embarrassing stuck-in-the-past recipe.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1569778 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 15:03:09 +00:00
Daniel Gruno
22326658b3 old/new -> foo/bar in example, so it matches the description (and the following examples)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1363234 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 06:28:01 +00:00
Daniel Gruno
2e1e6ff6d2 Fix some whitespace issues and a missing newline
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1334611 13f79535-47bb-0310-9956-ffa450edef68
2012-05-06 12:20:14 +00:00
Daniel Gruno
58056db10a Fix a whitespace issue
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1334323 13f79535-47bb-0310-9956-ffa450edef68
2012-05-05 06:36:35 +00:00
Daniel Gruno
e85f6a095d Fix title issues
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330874 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 14:35:38 +00:00
Daniel Gruno
18cbb56863 Formatting error, sorry.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330324 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 14:57:32 +00:00
Daniel Gruno
00fb4897e1 Fix some whitespace issues
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330318 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 14:48:49 +00:00
Daniel Gruno
8a5341c347 Use highlighter in rewrite/
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330312 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 14:37:27 +00:00
Rich Bowen
478a1c4ba6 Typo and link breakage patches for mod_rewrite docs. via Daniel Gruno
(rumble at cord dk)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1300917 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 11:22:11 +00:00
Jim Jagielski
69c1a5c854 Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174747 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 13:36:39 +00:00
Rich Bowen
fd407bc188 Updates one of the "advanced" recipes and rewrites description.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1169760 13f79535-47bb-0310-9956-ffa450edef68
2011-09-12 14:21:41 +00:00
Igor Galić
823ebf4898 Typo pointed out by Mr Jink on IRC.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1141074 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 12:43:18 +00:00
Rich Bowen
5a71facd82 Remove unnecessary .* from regex, as noted in
http://stackoverflow.com/questions/5587148/regex-patterns-in-apache-rewritecond-and-friends-full-or-partial-match



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090255 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 14:15:17 +00:00
Rich Bowen
8e2bb2e663 XML error.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1059174 13f79535-47bb-0310-9956-ffa450edef68
2011-01-14 21:18:20 +00:00
Rich Bowen
b15efce950 Remove unnecessary <pre> tags in <example> blocks.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1059171 13f79535-47bb-0310-9956-ffa450edef68
2011-01-14 21:15:44 +00:00
Rich Bowen
8cc01b7ecc Remove unncessary <pre> tags inside <example> blocks.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1059169 13f79535-47bb-0310-9956-ffa450edef68
2011-01-14 21:13:24 +00:00
Rich Bowen
3b34191012 Adds the second virtual host to the example, so that we don't end up
having to re-explain that part every time on IRC.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1059163 13f79535-47bb-0310-9956-ffa450edef68
2011-01-14 20:56:32 +00:00
Igor Galić
8831c0f11a Fix typo from r1055506, update transforms.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1055515 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 16:39:47 +00:00
Rich Bowen
29da46e02e Add examples using <If>.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1055506 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 16:22:39 +00:00
Igor Galić
f191b16bc1 [PT] is implied in per-dir context. (Also, FallbackResource is backported in 2.2.16)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@983728 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 16:50:00 +00:00
Rich Bowen
8567252916 Minor tweak: Rename links to 'Using RewriteMap' rather than 'RewriteMap'.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@945974 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 00:43:45 +00:00
Rich Bowen
416a85f30d Add the rewritemap doc to the seealso navigation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@945934 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 22:30:54 +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
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
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
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
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
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
Rich Bowen
118edd63a0 Move the 'vhost per user' rule, and add commentary.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@835356 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 12:00:32 +00:00
Lucien Gentis
0bfb69f108 Little typos.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@833878 13f79535-47bb-0310-9956-ffa450edef68
2009-11-08 13:56:00 +00:00
Rich Bowen
48b70fd6e4 Typo correction. Thanks Lucien.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@833721 13f79535-47bb-0310-9956-ffa450edef68
2009-11-07 17:40:28 +00:00
Rich Bowen
21ecc37006 seealso list in all the various docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@833139 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 19:23:09 +00:00
Rich Bowen
2929211635 Moves the "canonial URL" example to remapping
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@833061 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 15:43:23 +00:00
Rich Bowen
5c7cd4e7cb Moves the 'browser-specific' rule into remapping.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832973 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 01:55:43 +00:00
Rich Bowen
f73825dd44 Relocates another recipe, and updates it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832923 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 00:12:41 +00:00
Rich Bowen
b2a91602be Should be a leading slash on that regex. Thanks to Bob Ionescu.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832826 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 18:13:15 +00:00
Rich Bowen
5ef61a61af The hostname requires a http:// on the front of it, since we're
redirecting to it. This recipe has apparently been wrong for years.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832310 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 06:09:35 +00:00
Rich Bowen
c1cd405d9f Clarify that this technique works in per-directory scope.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832237 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 01:01:11 +00:00
Rich Bowen
9d0bbac6c5 Moves another rule over to the category-specific file, and updates it
to use more efficient techniques.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832236 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 00:55:56 +00:00
Rich Bowen
baecf9e13f Moves another rule out of rewrite_guide, and updates it for modern
versions of mod_rewrite


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832217 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 00:16:57 +00:00
Rich Bowen
e7cd7a2b84 Moves more recipes to their new locations, with some minor changes to
each.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832204 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 23:49:53 +00:00
Rich Bowen
703a4b54d3 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
2009-11-02 20:36:30 +00:00