1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-02 06:53:27 +03:00
Commit Graph

196 Commits

Author SHA1 Message Date
Stefan Fritsch
a83284e103 update xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1178089 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 20:57:36 +00:00
Stefan Fritsch
af536f0579 update xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1165196 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 07:56:28 +00:00
Rich Bowen
3f51c7eb67 via Matthew Sporleder - domain is required in the CO flag or cookies
aren't set.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1092799 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 20:14:15 +00:00
Rich Bowen
53b7c75196 hernan gonzalez <hgonzalez gmail.com> points out that the USER_AGENT
strings were probably more accurate with the leading ^ anchor.
Rebuilds a few other changes.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090284 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 14:50:47 +00:00
Rich Bowen
e372fb87ac Remove more unnecessary anchors from rewrite examples.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090265 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 14:28:05 +00:00
Rich Bowen
70c0e280af Rebuild transformation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1085369 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 13:56:54 +00:00
Eric Covener
b4b949bff0 captures of THE_REQUEST are still escaped however the browser sent the request,
ulike most REQUEST_* variables.  PR#50758


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1073591 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 04:26:06 +00:00
Eric Covener
00b0cb9ccb xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1063589 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 03:21:58 +00:00
Rich Bowen
723a15ea9e Rebuild transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1059567 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 14:16:35 +00:00
Rich Bowen
01e65af712 Rebuild transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1059059 13f79535-47bb-0310-9956-ffa450edef68
2011-01-14 16:27:15 +00:00
Eric Covener
7b163966a7 clarify RewriteBase as action for closed PR50546
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1055710 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 02:12:01 +00:00
Eric Covener
ccb28b896c xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1055673 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 22:42:46 +00:00
Rich Bowen
931cdd59ae Update copyright to 2011
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1054597 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 12:42:10 +00:00
Stefan Fritsch
6c6979ede6 Make the REQUEST_SCHEME variable available to scripts and mod_rewrite
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1053872 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 12:34:19 +00:00
Stefan Fritsch
9975402ed9 update transforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1053751 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 21:54:25 +00:00
André Malo
ffc22896b6 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1044902 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 20:03:58 +00:00
André Malo
32b0fef81b update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1042432 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 20:20:17 +00:00
Eric Covener
e3c126a1bd PR#40831: empty-valued keys behave like missing keys in a RewriteMap lookup.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1031338 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 23:10:45 +00:00
Rich Bowen
cec5fed21d Note that RewriteOptions inherit causes parent rules to be applied AFTER
child scope rules. PR46399


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1031046 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 15:51:51 +00:00
Rich Bowen
3398d070e5 Rebuild HTML
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1029691 13f79535-47bb-0310-9956-ffa450edef68
2010-11-01 14:57:03 +00:00
Igor Galić
0b57e95fe4 Adding #logging link.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1002646 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 14:21:25 +00:00
Rich Bowen
cbea02b479 Make a note about RewriteLog for folks that are looking for it. Probably
should leave this here for a couple years until folks get used to the
new stuff.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1001232 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 15:07:49 +00:00
Rich Bowen
1b8797e925 Reformat these <pre> tables as actual HTML tables
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@999415 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 13:49:25 +00:00
Rich Bowen
c40c509433 Removes the completely unecessary .* on several examples where it only
serves to slow down the match process.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@999404 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 13:28:01 +00:00
Rich Bowen
4104c4cde1 Adds the -le, -lt, -eq, -ge, and -gt test flags added by wrowe.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@999401 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 13:23:57 +00:00
Rich Bowen
f69c5bdca0 Add descriptions of the new RewriteCond test flags, -L, -h, and the new
>= and <= syntax, added by wrowe in r997553.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@999383 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 13:02:02 +00:00
Igor Galić
10fc07caf8 Missing a word.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@983745 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 17:34:49 +00:00
Rainer Jung
60e8f3a913 Allow to set environment variables using mod_rewrite without
explicitely giving a value.

Most modules only check presence of a variable, not the
value, so it makes sense to make the VAL argument in
the mod_rewrite ENV flag optional.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960233 13f79535-47bb-0310-9956-ffa450edef68
2010-07-03 16:21:58 +00:00
Stefan Fritsch
5e9890cbb7 Update transformations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951906 13f79535-47bb-0310-9956-ffa450edef68
2010-06-06 17:21:45 +00:00
Rich Bowen
831425bb30 I think this might look better as a DL than as a TABLE.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@945947 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 23:12:38 +00:00
Rich Bowen
c13c39ce06 Moves most of the rewritemap stuff out into its own document where we
can give it the exhaustive treatment it deserves without making the
reference doc unmanageable.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@945921 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 22:02:33 +00:00
Rich Bowen
6d10612f5b 'Apache' -> 'Apache HTTP Server' etc
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@926416 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 00:46:17 +00:00
Eric Covener
297dfb62b8 mention the quirksof REQUEST_FILENAME earlier. PR48796
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@914980 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 17:46:23 +00:00
Stefan Fritsch
7b74009049 Make ap_pregsub(), used by AliasMatch and friends, use the same syntax
for regex backreferences as mod_rewrite and mod_include: Remove the use
of '&' as an alias for '$0' and allow to escape any character with a
backslash.

Document the use of $0.

PR: 48351


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@904765 13f79535-47bb-0310-9956-ffa450edef68
2010-01-30 11:20:53 +00:00
Stefan Fritsch
cc50d643c8 Update transformations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@904763 13f79535-47bb-0310-9956-ffa450edef68
2010-01-30 11:14:35 +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
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
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
André Malo
991dd648f9 revert r832627, because it uses invalid xml structure
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@889973 13f79535-47bb-0310-9956-ffa450edef68
2009-12-12 20:28:44 +00:00
Jeff Trawick
19c0d8577c generated doc updates
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@883879 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 21:10:49 +00:00
Eric Covener
514827929b continue clarification of RewriteBase, lots of users who install little
PHP apps with an Alias a) leave off RewriteBase then b) add the filesystem
path instead of the URL-path then c) spend hours trying to debug
the RewriteRules themselves.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@883030 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 01:38:59 +00:00
Eric Covener
5848a42169 add an early note about the Pattern in a rewriterule behaving
counterintuitively in per-directory context. (lots of mysterious no-op 
rulesets due to ^/ in htaccess)

Tweak QSA text.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832914 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 23:48:52 +00:00
Noirin Plunkett
c423645206 Split RewriteCond into two sections, brought TestString section up to date.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832627 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 00:10:36 +00:00
Noirin Plunkett
6bda4890a2 Removing more cruft, rewriting what's left
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832239 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 01:09:38 +00:00
Noirin Plunkett
fd8ad0059b Ripping out the stuff that isn't really module reference, and translating the
introduction to English


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832130 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 22:05:01 +00:00
Rich Bowen
183a6ef99f Full doc tree rebuild. This includes some diffs that rename
rewrite/rewrite_tech.* to rewrite/tech.*


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832071 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 19:34:38 +00:00
Rich Bowen
d2b36fc6aa As discussed on the docs mailing list several months back, we're
removing the 'rewrite_' from the various files in the rewrite/
directory, since it's redundant. This change moves rewrite_intro to
intro. Patches to follow will rename the other rewrite_ files.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832009 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 18:31:08 +00:00
Daniel Earl Poirier
ac908cb61f Update transforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@830259 13f79535-47bb-0310-9956-ffa450edef68
2009-10-27 17:39:39 +00:00
Nilgun Belma Buguner
2b633886b3 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@795477 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 04:30:28 +00:00
Ruediger Pluem
e4f6dc8e21 * Update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@732126 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 21:30:28 +00:00