Apache 的 Lua 模块,mod_pLua 0.36 发布
jopen 13年前
<p><a href="/misc/goto?guid=4958328097249903224" target="_blank">mod_pLua</a> 是一个 Apache2 的模块用来运行使用 Lua 编写的脚本模板,类似 PHP 。它将 Lua 脚本进行预编译并缓存,在用户访问的时候执行执行并返回。</p> <p>示例模板:</p> <p><img alt="Apache 的 Lua 模块,mod_pLua 0.36 发布" src="https://simg.open-open.com/show/aa57cf0d41cd39667c31b3aa75930c07.png" width="466" height="296" /></p> <p>mod_pLua 0.36 发布,主要改进:</p> <ul> <li>Re-enables the global pool mutex, which was shut off for debugging purposes. </li> <li>404 errors now use Apache's 404 handler instead. </li> <li>The hooking procedure has changed<span class="truncate_more"> so directives will be caught and used before the first pool is created.</span></li> </ul>