Lines Matching refs:script
187 bozo_add_lua_map(bozohttpd_t *httpd, const char *prefix, const char *script)
193 if (*script == '/')
194 map->script = bozostrdup(httpd, NULL, script);
199 bozoasprintf(httpd, &path, "%s/%s", cwd, script);
200 map->script = path;
232 if (luaL_loadfile(map->L, script))
233 bozoerr(httpd, 1, "failed to load script %s: %s", script,
236 bozoerr(httpd, 1, "failed to execute script %s: %s", script,
381 lua_env(map->L, "SCRIPT_FILENAME", map->script);