]> granicus.if.org Git - apache/commitdiff
the correct property is r.filename as used elsewhere
authorEric Covener <covener@apache.org>
Sun, 16 Oct 2011 18:04:14 +0000 (18:04 +0000)
committerEric Covener <covener@apache.org>
Sun, 16 Oct 2011 18:04:14 +0000 (18:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1184891 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_lua.xml

index ef02cc2069930bd07e903369f122f9427b2a3a7b..10653737174af103ade4ae6a9f2b3148f3dc901c 100644 (file)
@@ -555,7 +555,7 @@ LuaHookTranslateName /scripts/conf/hooks.lua silly_mapper
 require "apache2"
 function silly_mapper(r)
     if r.uri == "/" then
-        r.file = "/var/www/home.lua"
+        r.filename = "/var/www/home.lua"
         return apache2.OK
     else
         return apache2.DECLINED