Daniel Gruno
7c51994811
mod_lua was moved to stable; https://s.apache.org/Xnh1
...
also linting.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1851338 13f79535-47bb-0310-9956-ffa450edef68
2019-01-15 12:40:11 +00:00
Christophe Jaillet
d844a8e128
Fix comment in mod_lua and docs.
...
s/addoutputfilter/add_output_filter/
See PR 62359
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1837404 13f79535-47bb-0310-9956-ffa450edef68
2018-08-04 07:47:47 +00:00
Jacob Champion
f429387652
override index: update missing <override>s in directives
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1793934 13f79535-47bb-0310-9956-ffa450edef68
2017-05-04 23:41:19 +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
Christophe Jaillet
693a3c7bff
Remove useless <br \> in highlight blocks.
...
(r1741841 in 2.4.x + small tweak for logs.xml because quoting is different. This will be fixed later on)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1741842 13f79535-47bb-0310-9956-ffa450edef68
2016-05-01 06:47:18 +00:00
Luca Toscano
fb0e026602
Reverted r1741561 + doc rebuild, apologies for the new translation diffs, they will be a no op.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1741625 13f79535-47bb-0310-9956-ffa450edef68
2016-04-29 12:54:55 +00:00
Luca Toscano
f323ab64d6
Testing svnwcsub with Humbedooh
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1741561 13f79535-47bb-0310-9956-ffa450edef68
2016-04-29 07:43:36 +00:00
Christophe Jaillet
58c4db6a9b
Fix typo spotted in comment in online doc. [comment #4454 )
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1701349 13f79535-47bb-0310-9956-ffa450edef68
2015-09-05 06:34:02 +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
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
Daniel Gruno
8216b3d0b4
mod_lua: Initial attempt at passing on the configuration tree to Lua.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1641661 13f79535-47bb-0310-9956-ffa450edef68
2014-11-25 18:04:00 +00:00
Daniel Gruno
0ac4c9dc26
Revert early|late argument for LuaHookCheckUserID as it does not work right now.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1604336 13f79535-47bb-0310-9956-ffa450edef68
2014-06-21 10:36:56 +00:00
Christophe Jaillet
997d4cc0f7
SetHandler only has one parameter + reflow a sentence to synch with 2.4.x
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1598962 13f79535-47bb-0310-9956-ffa450edef68
2014-06-01 10:01:03 +00:00
Christophe Jaillet
b4fd93a0ff
Add <compatibility> notes for changes made in version 2.4.5 (and one forgotten in 2.4.8)
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1587325 13f79535-47bb-0310-9956-ffa450edef68
2014-04-14 21:20:00 +00:00
Rich Bowen
231c982add
Link AddHandler, SetHandler to docs
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1576897 13f79535-47bb-0310-9956-ffa450edef68
2014-03-12 20:45:55 +00:00
Rich Bowen
1ce4ce92d1
Fixes weird syntax in example, and removes superfluos quote
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1576894 13f79535-47bb-0310-9956-ffa450edef68
2014-03-12 20:40:44 +00:00
Rich Bowen
b082ab87d9
Use the simpler Files syntax rather than FilesMatch
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1576890 13f79535-47bb-0310-9956-ffa450edef68
2014-03-12 20:37:08 +00:00
Rich Bowen
fb7eb0949e
Ensure that .lua.foo files aren't affected
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1576415 13f79535-47bb-0310-9956-ffa450edef68
2014-03-11 16:43:39 +00:00
Daniel Gruno
dde9e0effa
Allow mod_lua to supply a database result with named rows instead of only numeric indexes.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1570528 13f79535-47bb-0310-9956-ffa450edef68
2014-02-21 11:10:10 +00:00
Daniel Gruno
c92f2cf0ad
mod_lua: Add r:wspeek for checking if data is available to be read.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1570208 13f79535-47bb-0310-9956-ffa450edef68
2014-02-20 14:46:38 +00:00
Daniel Gruno
5ed3e10473
mod_lua: Upgrade r:setcookie to accept a table of arguments, and add domain, path and HttpOnly to the list of options available for setting. PR 56128
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1567430 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 22:45:32 +00:00
Daniel Gruno
d7042247c0
s/password/pass/
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1550686 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 10:59:22 +00:00
Daniel Gruno
8249d9be06
Use a better example for a connection string (one with both username and password)
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1550682 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 10:48:09 +00:00
Daniel Gruno
b94df9a993
mod_lua: Adjust documentation for r:wsread()
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1523433 13f79535-47bb-0310-9956-ffa450edef68
2013-09-15 12:50:50 +00:00
Daniel Gruno
731d18dd4c
mod_lua: Add rudimentary WebSocket support. This is a WIP (emphasis on the W, I and P) and subject to change as the idea surrounding it evolves into something meaningful. But for now, WebSockets, yay! Please do review this!
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1522030 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 20:50:46 +00:00
Daniel Gruno
38024c1665
Add r:setcookie(key, val, secure, expires) and r:getcookie(key) to the request_rec table.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1519977 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 10:47:46 +00:00
Eric Covener
918ccd0014
mention some trickyness with mod_lua + mod_filter.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1519488 13f79535-47bb-0310-9956-ffa450edef68
2013-09-02 18:08:25 +00:00
Daniel Gruno
1ad63fbb73
Adding a simple logging hook for mod_lua, which allows users to create their own logs or bypass the generic logging on a per-request basis.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1519277 13f79535-47bb-0310-9956-ffa450edef68
2013-09-01 15:10:32 +00:00
Guenter Knauf
9d4128bb9a
Fix r.mpm_query().
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1498179 13f79535-47bb-0310-9956-ffa450edef68
2013-06-30 20:50:44 +00:00
Guenter Knauf
52eaebd29d
Simplify example.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1498176 13f79535-47bb-0310-9956-ffa450edef68
2013-06-30 20:45:58 +00:00
Guenter Knauf
e44c118ccc
Update doccu.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1496501 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 14:49:56 +00:00
Guenter Knauf
7c89f70739
Fixed touch function docu.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1495666 13f79535-47bb-0310-9956-ffa450edef68
2013-06-22 05:32:33 +00:00
Guenter Knauf
b006aecd3e
Added new mod_lua functions.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1495665 13f79535-47bb-0310-9956-ffa450edef68
2013-06-22 05:24:02 +00:00
Guenter Knauf
d014ead524
Added new funtions to mod_lua docu.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1492782 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 17:50:25 +00:00
Eric Covener
b5eb0dcb0a
make the example a bit more instructive about the nuances
...
of returning OK w/ r.status set vs. returning a HTTP error code.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1490095 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 00:46:17 +00:00
Eric Covener
c3027297e5
add proper return values to example.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1490091 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 00:38:32 +00:00
Daniel Gruno
954c6cbaf0
Note that parseargs and parsebody actually returns two tables, not one.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1477000 13f79535-47bb-0310-9956-ffa450edef68
2013-04-29 12:30:29 +00:00
Daniel Gruno
16c5c09fab
elaborate a bit about what ivm does, and add an example script
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1470271 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 07:12:27 +00:00
Daniel Gruno
4bab3cc357
fix typos, expand on how r:flush works
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1470158 13f79535-47bb-0310-9956-ffa450edef68
2013-04-20 12:38:32 +00:00
Daniel Gruno
3d9abf5e1d
scrap r:started from the list of functions, as it's just a variable.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1470119 13f79535-47bb-0310-9956-ffa450edef68
2013-04-20 07:19:10 +00:00
Daniel Gruno
01cd146c83
s/r:/r./
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1470114 13f79535-47bb-0310-9956-ffa450edef68
2013-04-20 07:08:42 +00:00
Daniel Gruno
4f2c8eaeac
s/r:/r./
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1469852 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 14:31:51 +00:00
Daniel Gruno
8049067196
Remove lua_ap_banner, as it's no longer being used.
...
Add ivm_get/ivm_set for Inter-VM data transfer. This allows multiple VMs across a process to share data without having to resort to external databases or filesystems. This is a work in progress, and I have yet to work out a proper way of resetting a variable without causing a memory leak (this could be done by allocating a new pool for each object, but I'm trying to see if there's a more efficient way). Comments, ideas etc are most welcome.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1469744 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 08:46:28 +00:00
Daniel Gruno
fd5d95a5d3
fix regex documentation for mod_lua
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1467730 13f79535-47bb-0310-9956-ffa450edef68
2013-04-14 06:47:22 +00:00
Daniel Gruno
5ae71d6a81
whitespace/escape fix
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1467562 13f79535-47bb-0310-9956-ffa450edef68
2013-04-13 06:49:39 +00:00
Daniel Gruno
90ec3f0c55
temporarily change a comment so the function can be commented out in the xml
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1467560 13f79535-47bb-0310-9956-ffa450edef68
2013-04-13 06:36:22 +00:00
Daniel Gruno
e38b304184
remove r:banner and r:port from docs, they are built in variables
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1467559 13f79535-47bb-0310-9956-ffa450edef68
2013-04-13 06:34:12 +00:00
Daniel Gruno
df8901ec7b
fix docs on regex matching, change the actual ordering of arguments to match the docs, and enforce AP_MAX_REG_MATCH in the function, should it somehow return more matches than we have allocated
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1467557 13f79535-47bb-0310-9956-ffa450edef68
2013-04-13 06:24:11 +00:00
Daniel Gruno
1083ba87de
Comment out feature that we don't have yet.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1466822 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 10:11:36 +00:00
Daniel Gruno
01f4c82b21
Updating lua docs with examples of how to use the built-in functions
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1465942 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 09:29:47 +00:00