1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-12 14:01:05 +03:00
Commit Graph

186 Commits

Author SHA1 Message Date
Eric Covener
2c7046ccf7 simplify/clarify that negation operates on an entire condition and not
on the regex or the special test conditions. Comment #1291.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1601532 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 00:02:02 +00:00
Christophe Jaillet
8a9812fc67 Fix typo spotted on online doc by Markie.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1596347 13f79535-47bb-0310-9956-ffa450edef68
2014-05-20 18:18:09 +00:00
Christophe Jaillet
16bd7d09a0 Based on report from Ken Zalewski, on online doc.
Add missing Server-Variables useable in RewriteCond directive.
Introduced in r1132494
   CONTEXT_PREFIX
   CONTEXT_DOCUMENT_ROOT
Introduced in r737973
   IPV6
Missing for ages!
   SCRIPT_GROUP
   SCRIPT_USER

I have added where I found it logical, feel free to adjust.
I have also reordered this table to ease reading.
Finally, I have beautified some tables at the end.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1594094 13f79535-47bb-0310-9956-ffa450edef68
2014-05-12 21:01:36 +00:00
Christophe Jaillet
6154377640 Correct typo as spoted in a comment in online doc
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1591096 13f79535-47bb-0310-9956-ffa450edef68
2014-04-29 20:38:49 +00:00
Christophe Jaillet
f1ea9af2c6 Add <compatibility> notes for changes made in version 2.4.8 + synch formating with 2.4.x
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1587032 13f79535-47bb-0310-9956-ffa450edef68
2014-04-13 16:36:28 +00:00
Christophe Jaillet
ae29713674 Synch trunk with more detailed description in 2.4.4
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1586452 13f79535-47bb-0310-9956-ffa450edef68
2014-04-10 19:49:37 +00:00
Christophe Jaillet
c8de84d39c Add <compatibility> notes for changes made in version 2.4.3 + fix some formating
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1586442 13f79535-47bb-0310-9956-ffa450edef68
2014-04-10 19:34:26 +00:00
Eric Covener
911f522c2a add BNP flag to give control to the user on whether a space ' ' in
an escaped backrefernece is decoded to a + (default) or %20. Useful
if your backreference isn't going into the query string.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1585157 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 18:40:36 +00:00
Eric Covener
43b91c5fa5 make it clear that B is for backreferences
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1575709 13f79535-47bb-0310-9956-ffa450edef68
2014-03-09 13:54:22 +00:00
Eric Covener
4ef49e127a *) mod_rewrite: Add RewriteOptions InheritDown, InheritDownBefore,
and IgnoreInherit to allow RewriteRules to be pushed from parent scopes
     to child scopes without explicitly configuring each child scope.
     PR56153. 

Submitted By: Edward Lu
Committed By: covener


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1570288 13f79535-47bb-0310-9956-ffa450edef68
2014-02-20 18:08:31 +00:00
Rich Bowen
b1cb017fd3 Flipped links, L and END flags
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1569455 13f79535-47bb-0310-9956-ffa450edef68
2014-02-18 18:14:46 +00:00
Rich Bowen
aab57469b8 Alpha-ordering
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1569418 13f79535-47bb-0310-9956-ffa450edef68
2014-02-18 16:43:49 +00:00
Rich Bowen
e96fe8aec1 Insert missing space.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1569407 13f79535-47bb-0310-9956-ffa450edef68
2014-02-18 16:20:46 +00:00
Eric Covener
c1ae372322 Add %{CONN_REMOTE_ADDR} to mod_rewrite. PR56094
Submitted By: Edward Lu <Chaosed0 gmail com>
Committed By: covener


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1563418 13f79535-47bb-0310-9956-ffa450edef68
2014-02-01 14:02:29 +00:00
André Malo
db67336b70 - fix various internal links, directive and module references
- add missing documents to the sitemap (if it's not in the sitemap, it's not
  going into any of the offline formats)
- fix a few metafile references (d'oh)
- fix some typos along the way


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1562300 13f79535-47bb-0310-9956-ffa450edef68
2014-01-28 22:59:24 +00:00
Eric Covener
255d3a55ad emphasize that this is mostly just AAA checks and not the status
code of the handler. PR21828 and various dups.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1555116 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 15:03:01 +00:00
Rich Bowen
aa4d5d525d Drag the example into this decade.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1521498 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 14:16:24 +00:00
Rich Bowen
64d04da696 Adds an anchor on LA-U for convenience.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1469957 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 17:16:14 +00:00
Eric Covener
f8d6faccb7 spelling
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1456072 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 18:16:20 +00:00
Eric Covener
19a11806ec PR54687: note that REQUEST_FILENAME is influenced by AcceptPathInfo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1456061 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 17:50:04 +00:00
Rich Bowen
46728687c6 Phrasing tweak
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1455377 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 00:44:50 +00:00
Rich Bowen
6696023a64 Fix link to the END flag detailed docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1448507 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 04:15:29 +00:00
Rainer Jung
96a8fb8351 Drop pre-2.3 compatibility notes from trunk docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1421821 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 12:35:47 +00:00
Eric Covener
5d16310f14 PR53963: don't merge the rewritebase down w/o an opt-in
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1410681 13f79535-47bb-0310-9956-ffa450edef68
2012-11-17 02:59:31 +00:00
Stefan Fritsch
e37fd92653 Mention string-valued expression in the BNF.
Clarify when header names are added to the Vary header.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1403476 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 20:16:26 +00:00
Daniel Gruno
61edb2f608 misc typo fixes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1379836 13f79535-47bb-0310-9956-ffa450edef68
2012-09-01 20:20:16 +00:00
Daniel Gruno
f41ef3973c Note that using rewrites with a file-path substitution in a .htaccess file will look for files relative to your document root, not relative to your file system root.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1379321 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 07:02:54 +00:00
Daniel Gruno
5ce06e1409 typo fixes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1364341 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 16:01:01 +00:00
Joe Orton
83acd755ee * modules/mappers/mod_rewrite.c (cmd_rewriteoptions, hook_uri2file):
Add "AllowAnyURI" flag which disables the strict URL-path input
  string check introduced to fix CVE-2011-3368/CVE-2011-4317.

* docs/manual: Update docs.

Inspired by: covener


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1356115 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 08:51:01 +00:00
Rich Bowen
ebeb7ccedb Reverting change, as what I changed it to wasn't technically accurate.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1334163 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 20:34:26 +00:00
Rich Bowen
94065a5a68 Update phrasing as requested by
https://issues.apache.org/bugzilla/show_bug.cgi?id=53152


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1334159 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 20:29:00 +00:00
Daniel Gruno
90a77e573d Syntax updates for mod_r*.xml
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331219 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 05:17:57 +00:00
Rich Bowen
bb712b8d01 Fix typo, as per https://issues.apache.org/bugzilla/show_bug.cgi?id=53152
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330987 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 17:41:46 +00:00
Daniel Gruno
d665d75940 fix grammatical error
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1325680 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 09:26:32 +00:00
Daniel Gruno
e1625cfd6f Fix up some ambiguity
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1325143 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 07:15:01 +00:00
Daniel Gruno
f3e676be39 Fix up some wordings and grammar.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1325141 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 07:09:33 +00:00
Daniel Gruno
7ce5b5404d Change "URI" to "URL-path".
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1324971 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 20:09:19 +00:00
Nilgun Belma Buguner
afa640b3b3 fix build
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1309551 13f79535-47bb-0310-9956-ffa450edef68
2012-04-04 19:16:15 +00:00
Eric Covener
159875a751 PR51969: one more try at explaining RewriteBase, simplify the example and show
how missing rewritebase altogether would go wrong.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1308320 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 12:37:32 +00:00
Rich Bowen
d3a02694b1 Answer the "what flavor of regex" question.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1301578 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 15:05:46 +00:00
Rich Bowen
5f545146f6 Trivial s/a/an/ typo correction.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1297835 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 02:08:52 +00:00
Rich Bowen
77d9a99e84 Correct the statement of how query string ordering works with the QSA
flag. Change via nathan.deklepper AT objectconsulting.com.au,
https://issues.apache.org/bugzilla/show_bug.cgi?id=52689


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1296175 13f79535-47bb-0310-9956-ffa450edef68
2012-03-02 12:52:47 +00:00
Rich Bowen
ebbfee6de5 Remove duplicated word
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1242508 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 20:28:57 +00:00
Eric Covener
23c21127c0 revert "overloaded" recent additions to mod_rewrite
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1239872 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 21:51:36 +00:00
Eric Covener
f08c2264f8 document a small trunk-only mod_rewrite indulgence
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1239778 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 19:31:01 +00:00
Eric Covener
29bf1ace3f rewrite guesses URL or Filesystem in server context, but treats everything
as a URL in per-dir context.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1228894 13f79535-47bb-0310-9956-ffa450edef68
2012-01-08 16:57:55 +00:00
Graham Leggett
36c25f8ffa mod_rewrite: Add the AllowNoSlash RewriteOption, which makes it possible
for RewriteRules to be placed in .htaccess files that match the directory
with no trailing slash. PR 48304.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209053 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 12:40:51 +00:00
Rich Bowen
9e12e172c0 Further clarifications of the rewrite process, as per ticket #52000
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180879 13f79535-47bb-0310-9956-ffa450edef68
2011-10-10 11:32:53 +00:00
Rich Bowen
8ce7c89d58 Clarify behavior of multiple rewrite rules in the same scope. refs https://issues.apache.org/bugzilla/show_bug.cgi?id=51968
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180734 13f79535-47bb-0310-9956-ffa450edef68
2011-10-09 22:29:41 +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