httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe Jr." <wr...@rowe-clan.net>
Subject Re: Reducing number of mod_lua hook directives
Date Wed, 12 May 2010 02:47:33 GMT
On 5/11/2010 9:47 AM, Dan Poirier wrote:
>>
>> LuaHook AccessChecker funcname /path/to/script.lua
> 
> I just thought of a problem - right now, the funcname is optional
> (defaults to "handle").  I hate having optional arguments that don't
> come at the end.  I'd just as soon make it a required argument, but if
> people would rather it stay optional, then I'd rather leave it at the
> end.   What do folks prefer?

I don't think this really violates the principal of adding optargs at the
end of the directive.  func names and paths appear sufficiently different.

Mime
View raw message