Adding upstream version 2.4.63.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
parent
93c6f9029a
commit
7263481e48
3104 changed files with 900776 additions and 0 deletions
29
modules/lua/test/htdocs/hooks.lua
Normal file
29
modules/lua/test/htdocs/hooks.lua
Normal file
|
@ -0,0 +1,29 @@
|
|||
require 'string'
|
||||
require 'apache2'
|
||||
|
||||
function translate_name(r)
|
||||
if r.uri == "/translate-name" then
|
||||
r.uri = "/find_me.txt"
|
||||
return apache2.DECLINED
|
||||
end
|
||||
return apache2.DECLINED
|
||||
end
|
||||
|
||||
function translate_name2(r)
|
||||
if r.uri == "/translate-name2" then
|
||||
r.uri = "/find_me.txt"
|
||||
return apache2.DECLINED
|
||||
end
|
||||
return apache2.DECLINED
|
||||
end
|
||||
|
||||
function fixups_test(r)
|
||||
-- r:err("KABAZ")
|
||||
if r.uri == "/test_fixupstest" then
|
||||
-- r:err("KABIZ")
|
||||
r.status = 201
|
||||
return apache2.OK
|
||||
end
|
||||
-- r:err("ZIBAK")
|
||||
return apache2.DECLINED
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue