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

229 Commits

Author SHA1 Message Date
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
André Malo
184034d0a9 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@729540 13f79535-47bb-0310-9956-ffa450edef68
2008-12-26 21:47:51 +00:00
Eric Covener
d91d8df242 Various cleanups and per-directory behavior differences
Submitted By: Bob Ionescu
Reviewed By: covener



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728399 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 08:04:29 +00:00
Eric Covener
6b75806ed8 typo spotted by Vincent Bray
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728020 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 13:39:55 +00:00
Eric Covener
6710f37922 *) mod_rewrite: Introduce DiscardPathInfo|DPI flag to stop the troublesome
way that per-directory rewrites append the previous notion of PATH_INFO
    to each substitution before evaluating subsequent rules.
    PR38642 [Eric Covener]



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728015 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 12:59:52 +00:00
Rich Bowen
c1a9ef2075 Slight clarification to the way rewrite works in per-directory context.
Suggested by Peter Kehl on the users mailing list.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@720955 13f79535-47bb-0310-9956-ffa450edef68
2008-11-26 19:22:17 +00:00
Jim Jagielski
498fb10840 Update docco xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@707359 13f79535-47bb-0310-9956-ffa450edef68
2008-10-23 12:28:40 +00:00
Eric Covener
8aec8fc2bf missing an "if"
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@707072 13f79535-47bb-0310-9956-ffa450edef68
2008-10-22 13:40:21 +00:00
Eric Covener
919c0c9166 leave a hint about some non-intuitive startup behavior for RewriteMap programs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@707041 13f79535-47bb-0310-9956-ffa450edef68
2008-10-22 11:44:53 +00:00
Ruediger Pluem
83b2dda8fe * Update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@664334 13f79535-47bb-0310-9956-ffa450edef68
2008-06-07 12:51:43 +00:00
Ruediger Pluem
00db8d0f11 * Update transformation by doing a ./build.sh all convmap
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@661125 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 22:20:08 +00:00
Takashi Sato
600b208cae update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@660544 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 14:53:45 +00:00
Vincent Bray
531b6d3f37 Update transformations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@647426 13f79535-47bb-0310-9956-ffa450edef68
2008-04-12 11:14:08 +00:00
Joshua Slive
e04102ffe6 Make the RewriteRule docs shorter (!) by referencing the regex docs in the
rewrite intro.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@636398 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 16:22:20 +00:00
Tony Stevenson
5710e61dbe As per PR 44135
Feeling brave mucking with the rewrite docs =) 

setenvif -> added link to rewrite.html#rewritecond
rewrite -> added a see also so the rewrite flags stood out a little more.  



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@619726 13f79535-47bb-0310-9956-ffa450edef68
2008-02-08 01:34:51 +00:00
Noirin Plunkett
2e1af8db42 Copyright year update
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@613134 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 11:44:40 +00:00
André Malo
af03422d39 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@604502 13f79535-47bb-0310-9956-ffa450edef68
2007-12-15 20:21:16 +00:00
Vincent Bray
10ecac4ec5 Repeated 'RewriteRule'
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@599603 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 22:19:00 +00:00