1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00
Files
apache/modules/lua/test/test_httpd.conf
André Malo a11c89f232 fix various property issues
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1309567 13f79535-47bb-0310-9956-ffa450edef68
2012-04-04 19:49:25 +00:00

32 lines
899 B
Plaintext

# Customize these two values for your Apache2 install
ServerRoot "/Users/brianm/.opt/httpd-2.2.3-worker-for-lua"
DocumentRoot "/Users/brianm/src/wombat/test/htdocs"
# Customize this value to point to the top of mod_wombat's test dir
LuaRoot /Users/brianm/src/wombat/test
Listen 8000
LoadModule lua_module modules/mod_lua.so
AddHandler lua-script .lua
#LuaConfig httpd_config.lua configure
LuaMapHandler /basic /Users/brianm/src/wombat/test/htdocs/test.lua
LuaMapHandler /filter/simple /Users/brianm/src/wombat/test/htdocs/filters.lua handle_simple
LuaMapHandler ^/(\w+)_(\w+)$ /Users/brianm/src/wombat/test/htdocs/$1.lua handle_$2
LuaHookTranslateName htdocs/hooks.lua translate_name
LuaHookTranslateName htdocs/hooks.lua translate_name2
LuaHookFixups htdocs/hooks.lua fixups_test
LuaPackagePath lib/?.lua
# stat | forever | never
LuaCodeCache stat
ErrorLog logs/error_log
LogLevel debug