httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Brandt <jbl...@gmail.com>
Subject Re: mod_lua status pages
Date Wed, 10 Dec 2014 16:25:23 GMT
Hi,

since there wasn't feedback, here my config in short form.

LoadModule lua_module modules/mod_lua.so


AddHandler lua-script .lua
<Directory /server-status>
DirectoryIndex server-status.lua
</Directory>


Alternative there is an option to install it as a handler

LuaMapHandler ^/server-status$ /path/to/server-status.lua




Cheers
Mario

On 14 April 2014 at 22:05, Rich Bowen <rbowen@rcbowen.com> wrote:
> Sorry, that was supposed to be addressed to Daniel Gruno, cc'ed to docs. I
> expect you all knew that anyways.
>
> --Rich
>
>
>
> On 04/14/2014 04:02 PM, Rich Bowen wrote:
>>
>> A reminder of a conversation from last week:
>>
>> In your talk on mod_lua, you talked about your fancy mod_status
>> "replacement" in Lua.
>>
>> Would you please put a httpd-lua.conf.in in conf/extras that shows how to
>> configure that, and then put the script itself in that same directory (or
>> somewhere else, if you can think of somewhere that makes sense) with
>> instructions of where to copy/move it to in order to get it working?
>>
>> Likewise, if feasible, the block-by-rbl example you talked about.
>>
>> Thanks.
>>
>> --Rich
>>
>>
>
> --
> Rich Bowen - rbowen@rcbowen.com - @rbowen
> http://apachecon.com/ - @apachecon
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
> For additional commands, e-mail: docs-help@httpd.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message