Eric Covener
25be6a52ea
compat note for REMOTE_PORT
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1788508 13f79535-47bb-0310-9956-ffa450edef68
2017-03-24 17:32:17 +00:00
Luca Toscano
232d9e3c8a
Correct some typos across the documentation.
...
This commit was made thanks to the tool and PR
created by Lajos Veres (vlajos) on github.
PR: https://github.com/apache/httpd/pull/6
Tool: https://github.com/vlajos/misspell_fixer
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1780210 13f79535-47bb-0310-9956-ffa450edef68
2017-01-25 15:19:30 +00:00
Eric Covener
b3531c422d
PR59938: add %{REMOTE_PORT} to the expression parser
...
Submitted By: Hank Ibell <hwibell gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1776459 13f79535-47bb-0310-9956-ffa450edef68
2016-12-29 18:31:13 +00:00
Christophe Jaillet
2c12dabd6f
Fix doc as spotted by Dusan Bajic in online doc
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1762013 13f79535-47bb-0310-9956-ffa450edef68
2016-09-23 04:39:16 +00:00
Christophe Jaillet
052f59a781
Fix doc as spotted by Francois B in online doc
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1762012 13f79535-47bb-0310-9956-ffa450edef68
2016-09-23 04:24:33 +00:00
Eric Covener
44f6c966b0
expand third common in the expression functions doc
...
Explain some risks at looking at per-request environment variables
set by other modules within <If>.
http://stackoverflow.com/questions/39462011/htaccess-if-else-always-selects-else
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1761272 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 20:39:20 +00:00
Graham Leggett
45b089f7ac
mod_crypto: Add the all purpose crypto filters with support for HLS.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1752099 13f79535-47bb-0310-9956-ffa450edef68
2016-07-10 17:27:03 +00:00
Eric Covener
732d265fc8
add a -R example, I had to ask for help to figure out the single quotes.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1745206 13f79535-47bb-0310-9956-ffa450edef68
2016-05-23 14:55:13 +00:00
Rich Bowen
e8867b18b9
ErrorDocument is not a section directive.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1736445 13f79535-47bb-0310-9956-ffa450edef68
2016-03-24 14:24:57 +00:00
Stefan Eissing
44026b36fa
expr support for HTTP2 variable
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1726167 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 10:09:28 +00:00
Jim Jagielski
df23b8a678
revert
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1726057 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 18:41:21 +00:00
Jim Jagielski
a0a59e1cca
Note that as a function, kept_body requires an argument,
...
but the value of that argument is completely moot.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725949 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 13:54:41 +00:00
Jim Jagielski
b0ba54040b
ap_expr now allows kept_body() function to grab/use
...
response body if stored in r->kept_body
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725755 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 16:58:04 +00:00
Christophe Jaillet
7f6c428da8
Fix doc as spotted by A. Gh. in online doc
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1723979 13f79535-47bb-0310-9956-ffa450edef68
2016-01-11 06:30:50 +00:00
Eric Covener
c6cc3f9ab9
add a mod_headers condition clause expression example
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1721978 13f79535-47bb-0310-9956-ffa450edef68
2015-12-28 18:44:03 +00:00
Ken Coar
430aadce59
* Remove trailing whitespace from a bunch of *.xml files
...
* Quoted arguments to Rewrite{Base,Cond,Map,Rule}.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1673945 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 20:04:05 +00:00
Ken Coar
b75f3c1fdf
Quote {Alias,Redirect,ScriptAlias}{,Match} arguments.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1673908 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 18:04:39 +00:00
Ken Coar
57ef10245b
Enclose parameters in quotation marks for <{Files,Directory,Location}{,Match}>
...
containers.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1673892 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 17:46:53 +00:00
Graham Leggett
6f4e16eca6
mod_authn_core: Add expression support to AuthName and AuthType.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1663123 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 14:37:11 +00:00
Graham Leggett
9850539bd7
core: Add expression support to ErrorDocument. Switch from a fixed
...
sized 664 byte array per merge to a hash table.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1661448 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 23:59:05 +00:00
Graham Leggett
5488d21243
mod_alias: Introduce expression parser support for Alias, ScriptAlias
...
and Redirect.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1653941 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 17:02:22 +00:00
Christophe Jaillet
3663e2edf2
Add missing 'filemod' in functions list + minor formatting issue + long line split
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1649636 13f79535-47bb-0310-9956-ffa450edef68
2015-01-05 20:03:50 +00:00
Eric Covener
2ac1d498f7
function examples, other flavor of function examples. replace() example
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1643267 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 13:28:08 +00:00
Eric Covener
040f608207
add a warning to resp() similar to the one present for REQUEST_STATUS [too early in <if>]
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1643118 13f79535-47bb-0310-9956-ffa450edef68
2014-12-03 13:46:16 +00:00
Eric Covener
d93832ccb3
even out some whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1642581 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 18:13:24 +00:00
Jan Kaluža
bd41584fcb
* ap_exr: Add replace(string, from, to) function.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1642154 13f79535-47bb-0310-9956-ffa450edef68
2014-11-27 13:46:11 +00:00
Eric Covener
72d7c6c45a
add a few more expresion examples to illustrate functions and -f
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1641888 13f79535-47bb-0310-9956-ffa450edef68
2014-11-26 19:05:12 +00:00
Eric Covener
b69ec42080
add a -in wordlist example, change 'string list' to wordlist so you can jump to the grammar.
...
leave a hint about line endings (uncommitted change in my tree)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1636189 13f79535-47bb-0310-9956-ffa450edef68
2014-11-02 21:01:05 +00:00
Eric Covener
d754154d9a
no status during if_walk
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1613526 13f79535-47bb-0310-9956-ffa450edef68
2014-07-25 22:24:13 +00:00
Eric Covener
bf37b5e2e8
call out some variables that aren't set during <if>
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1613524 13f79535-47bb-0310-9956-ffa450edef68
2014-07-25 22:20:33 +00:00
Christophe Jaillet
799c4a11e8
Add missing variables:
...
Introduced in r1132494
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
and since the beginning of util_expr_eval.c for
HTTP_COOKIE
Description still missing.
+ synch layout with 2.4
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1595353 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 21:25:10 +00:00
Graham Leggett
84358db95c
Add the ldap-search option to mod_authnz_ldap, allowing authorization
...
to be based on arbitrary expressions that do not include the username.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1589993 13f79535-47bb-0310-9956-ffa450edef68
2014-04-25 11:14:36 +00:00
Graham Leggett
7c05d5e069
Add the ldap function to the expression API, allowing LDAP filters and
...
distinguished names based on expressions to be escaped correctly to
guard against LDAP injection.
Note: this requires at least APR v1.6.0 or above for the apr_escape API.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1589986 13f79535-47bb-0310-9956-ffa450edef68
2014-04-25 10:55:04 +00:00
Rich Bowen
5021856e04
As per comment, removing quotes makes the example work
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1575406 13f79535-47bb-0310-9956-ffa450edef68
2014-03-07 21:05:11 +00:00
Rich Bowen
30eb86fa91
Add =~ and !~ to the table of comparison operators
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1575391 13f79535-47bb-0310-9956-ffa450edef68
2014-03-07 20:30:09 +00:00
André Malo
e40704c69b
this is not a quote.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1564957 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 22:20:24 +00:00
André Malo
c030e071c6
table fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1560918 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 08:35:36 +00:00
André Malo
1e69a66054
rewrap for readability
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1560914 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 08:18:03 +00:00
Graham Leggett
be8ea07e55
mod_authnz_host: Support the expression parser within the require directives.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1554188 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 11:14:19 +00:00
Graham Leggett
c8258c2ade
mod_authnz_dbm: Support the expression parser within the require directives.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1554170 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 09:37:17 +00:00
Graham Leggett
133bf49fdf
mod_authnz_dbd: Support the expression parser within the require directives.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1554168 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 08:54:09 +00:00
Graham Leggett
cd7dfa6c1c
mod_authnz_ldap: Support the expression parser within the require
...
directives.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1554161 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 07:48:18 +00:00
Rich Bowen
b5dae5e0bb
Encourage best practice of putting complex arguments in quotes.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1481359 13f79535-47bb-0310-9956-ffa450edef68
2013-05-11 15:51:24 +00:00
Daniel Gruno
6f5127e707
s/uppser/upper/
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1480901 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 07:47:43 +00:00
Stefan Fritsch
2f358e7e17
add md5 function, too
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1458004 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 21:16:18 +00:00
Stefan Fritsch
bc612559f8
sha1 now does hex encoding
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1457995 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 21:06:39 +00:00
Graham Leggett
6f91fe5dbc
mod_auth_basic: Add a generic mechanism to fake basic authentication
...
using the ap_expr parser. This allows the administrator to construct
their own username and password for basic authentication based on their
needs. Alternative fix for PR52616.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1457471 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 16:02:41 +00:00
Graham Leggett
c0c5f9db2a
Expression parser: Add the ability to apply a SHA1 hash to strings within
...
the parser.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1457450 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 13:52:58 +00:00
Graham Leggett
cc78b3134b
Expression parser: Add the ability to base64 encode and base64 decode
...
strings within the parser.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1457437 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 12:49:27 +00:00
Rich Bowen
5e19168ce9
Typo
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1446027 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 01:48:29 +00:00