Stefan Fritsch
e0a5a7882e
Fix names of unary operators like '-s' being compared case insensitively.
...
Improve error message if op or function is not found. Document '-s' operator.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1212883 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 21:26:00 +00:00
Graham Leggett
8c8f815c1b
Clarify the peer IP of the connection and the client IP of the request within
...
the docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1208753 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 20:28:25 +00:00
Graham Leggett
e6810567ce
Update the documentation for the %a and %{c}a logging format strings, and
...
update the mod-remoteip documentation in line with the new API.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1205075 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 16:50:00 +00:00
Stefan Fritsch
05fe1b13b1
add new ldap features, make ap_expr entry more verbose
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1202456 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 22:53:17 +00:00
Stefan Fritsch
f184e25627
grammar fix
...
point to SSLRequire docs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1178088 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 20:41:30 +00:00
Stefan Fritsch
5c6cb2155a
be explicit that REQUEST_URI is the path component only
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1165192 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 07:44:23 +00:00
Stefan Fritsch
f0cf7722ba
Use ap_unescape_url_keep2f() in ap_expr unescape func. ap_unescape_url()
...
forbidding encoded slashes is not useful here.
Log failures.
Improve docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1151373 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 08:03:41 +00:00
Stefan Fritsch
3a2ff33757
Add new non-default debugging module mod_log_debug
...
It allows to log custom debug messages at various phases in the request
processing and is the first consumer of the new string-valued ap_expr API.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1142170 13f79535-47bb-0310-9956-ffa450edef68
2011-07-02 08:30:38 +00:00
Stefan Fritsch
0ddae368ab
Add REQUEST_STATUS variable to ap_expr
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1142163 13f79535-47bb-0310-9956-ffa450edef68
2011-07-02 07:32:26 +00:00
André Malo
73e09fa95a
property and xml fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1137340 13f79535-47bb-0310-9956-ffa450edef68
2011-06-19 11:24:29 +00:00
Stefan Fritsch
93623482e3
- Add <ElseIf> and <Else> to complement <If> sections. These are both easier
...
to use and more efficient than using several <If> sections.
- Update <If> documentation a bit.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1132469 13f79535-47bb-0310-9956-ffa450edef68
2011-06-05 18:15:02 +00:00
Stefan Fritsch
3dd90a26b7
Use the new "ap_expr" expression parser.
...
The old parser can still be used by setting the new directive
SSILegacyExprParser
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1128614 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28 11:47:55 +00:00
Stefan Fritsch
a8c135f27e
Add some features to ap_expr for use by mod_include:
...
* a restricted mode that does not allow to bypass request access restrictions
* new variables DOCUMENT_URI (alias for REQUEST_URI), LAST_MODIFIED
* -A as an alias for -U
* an additional data entry in ap_expr_eval_ctx_t for use by the consumer
* an extensible ap_expr_exec_ctx() API that allows to use that data entry
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1128564 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28 07:01:47 +00:00
Stefan Fritsch
a88e191cd5
Also add the -U and -F operators for doing subrequest lookups to ap_expr.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1103126 13f79535-47bb-0310-9956-ffa450edef68
2011-05-14 15:12:33 +00:00
Stefan Fritsch
17651e0c9a
Add various file existance test operators to ap_expr
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1103097 13f79535-47bb-0310-9956-ffa450edef68
2011-05-14 13:22:11 +00:00
Stefan Fritsch
ff06d3078c
Add some links and bits to the ap_expr docs
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1073543 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 23:17:50 +00:00
Vincent Deffontaines
d76fb1b644
Adding a link to the wikipedia page describing BNF.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1065758 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 20:39:33 +00:00
Vincent Deffontaines
493c04a66f
Setting missing LastChangedRevision to the latest "svn blame" revision I found.
...
However the present [post] commit should override it...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1065742 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 20:15:30 +00:00
Eric Covener
03b6869c09
provide links back to ap_expr-aware directives/modules
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1055507 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 16:22:42 +00:00
Stefan Fritsch
d489f13739
Add mod_rewrite's SCRIPT_USER/SCRIPT_GROUP vars to ap_expr
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1053882 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 13:00:36 +00:00
Stefan Fritsch
0ec9bd6fdc
Add -T operator to allow easy evaluation of on/off, 1/0, ... variables
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1053865 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 11:59:02 +00:00
Lucien Gentis
60bad7a068
Typos.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1053666 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 16:18:54 +00:00
Stefan Fritsch
4766a90ae8
Fix typos, update transforms
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1050962 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 22:53:32 +00:00
Stefan Fritsch
00366b7497
add some links
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1050960 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 22:48:57 +00:00
Stefan Fritsch
734e24b274
a bit more documentation for ap_expr's variables
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1050955 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 22:35:02 +00:00
Stefan Fritsch
c43460c2ba
Fix description of "note"
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1039941 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 20:28:46 +00:00
Stefan Fritsch
e27a3c21e3
- add -ipmatch, -str(c)match, -fnmatch, -R operators to ap_expr
...
- allow lookup function to pre-parse string constant arguments
(used for subnet masks so far)
- various bug fixes for binary operators
- do strdup() for error messages created on the stack to avoid corruption
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1039900 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 16:35:14 +00:00
Stefan Fritsch
7e4add122c
ap_expr related fixes and enhancements
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1037510 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 17:39:52 +00:00
Igor Galić
21965dac70
Crosslinking mod_ssl.html and expr.html
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1037347 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 22:38:38 +00:00
Igor Galić
2faa163a27
Adding SetEnvIfExpr documentation, and more references to expr.html
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1037339 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 21:47:53 +00:00
Stefan Fritsch
86508e66ab
support error log id as variables
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1033167 13f79535-47bb-0310-9956-ffa450edef68
2010-11-09 19:24:45 +00:00
Stefan Fritsch
b6aec76bc1
Support %{HANDLER} in ap_expr (required for mod_filter)
...
Update mod_filter docs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1032413 13f79535-47bb-0310-9956-ffa450edef68
2010-11-07 22:53:59 +00:00
Stefan Fritsch
6056703807
Implement "reqenv", "note", "-z", "-n" in ap_expr.
...
Make "env" ssl_expr compatible
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1032408 13f79535-47bb-0310-9956-ffa450edef68
2010-11-07 22:06:33 +00:00
Stefan Fritsch
29d566dd9b
Port "file" function from ssl_expr
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1032393 13f79535-47bb-0310-9956-ffa450edef68
2010-11-07 21:09:19 +00:00
Stefan Fritsch
9a326888d3
Start some docs for the ap_expr parser.
...
Still needs a lot of work but may be usefult for testers.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1032273 13f79535-47bb-0310-9956-ffa450edef68
2010-11-07 13:26:54 +00:00