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

118 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
e6a13980db LogLevel should specify a global log level as well as the per-module
loglevel.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1029689 13f79535-47bb-0310-9956-ffa450edef68
2010-11-01 14:56:09 +00:00
Eric Covener
a81eb0d43d Add an END flag to RewriteRule that acts like L=LAST but also prevents
further rounds of rewrite processing due to per-directory substitutions.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1028778 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 14:43:49 +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
a5f4ee1845 Replace RewriteLog/RewriteLogLevel with trace log levels
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951903 13f79535-47bb-0310-9956-ffa450edef68
2010-06-06 17:09:43 +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
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
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
6565e2228b move a couple of special warnings for SysV sems and Posix sems out of the
performance tuning guide and into the common Mutex documentation; remove the
other (duplicate) information from that guide and instead point to the Mutex
directive

mpm_common: axe docs for old accept mutex directives

worker and prefork: axe links to old accept mutex directives, mention the use
of the accept mutex and how it can be configured

event: axe links to old mutex directives where were already N/A

mod_rewrite: axe old RewriteLock directive, mention use of the rewrite map
mutex for RewriteMap programs and how it can be configured

fix other miscellaneous LockFile or AcceptMutex references


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@883878 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 21:08:37 +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
Vincent Deffontaines
299688e2b1 Add a note about the DPI rewrite flag, available from 2.2.12 only.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@829520 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 10:03:25 +00:00
André Malo
80f5bdd29e fix validation errors
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@729539 13f79535-47bb-0310-9956-ffa450edef68
2008-12-26 21:45:59 +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
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
cf66e3894d * Offer the possibility to create session cookies in the case a path is
given.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@664333 13f79535-47bb-0310-9956-ffa450edef68
2008-06-07 12:50:04 +00:00
Ruediger Pluem
140715a336 * Allow HttpOnly, 1 and true to enable HttpOnly, allow secure, 1 and true
to enable secure.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@664330 13f79535-47bb-0310-9956-ffa450edef68
2008-06-07 12:29:27 +00:00
Ruediger Pluem
c506a9d1a7 * Make setting of HttpOnly flag more explicit.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@660566 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 15:49:30 +00:00
Takashi Sato
f32647d426 Style fix. Almost all are detabs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@659902 13f79535-47bb-0310-9956-ffa450edef68
2008-05-25 03:28:34 +00:00
Vincent Bray
0ce9b7e4ae Minor grammar fix (s/not accessible/inaccessible/)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@647424 13f79535-47bb-0310-9956-ffa450edef68
2008-04-12 11:08:12 +00:00
Ruediger Pluem
93a75ba455 * Allow Cookie option to set secure and HttpOnly flags
PR: 44799
Submitted by: Christian Wenz <christian wenz.org>
Reviewed by: rpluem



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@647395 13f79535-47bb-0310-9956-ffa450edef68
2008-04-12 08:44:36 +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
Vincent Bray
c886efedbd 'segement' typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@604461 13f79535-47bb-0310-9956-ffa450edef68
2007-12-15 17:35:38 +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
André Malo
48e97db77a fix external references to perldoc
PR: 43856


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@594900 13f79535-47bb-0310-9956-ffa450edef68
2007-11-14 14:27:20 +00:00
Eric Covener
e2bd543fdc punctuation; sorry for the noise
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@577302 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 13:42:41 +00:00