Feature #1421

access_allow directive for lighttpd

Added by japc 437 days ago. Updated 437 days ago.

Status:New Start:
Priority:Normal Due date:
Assigned to:jan % Done:

0%

Category:mod_access
Target version:1.5.0
Pending:

No

Resolution:


Description

Patch to add an access_allow directive to lighttpd where everything not
listed is denied (usefull, for instance to only allow, .jpg, .gif, on
static servers, blocking that way the .inc, .conf, .php, .php~, etc. that
may me lurking).

The patch is as simple as it can get and is not intrusive in any way.

It would be nice not having to patch lighttpd in each upgrade and it may
be useful to someone else.

lighttpd-1.4.16-access_allow.diff - lighttpd-1.4.16-access_allow.diff (2.6 KB) japc, 06/05/2008 03:13 PM

lighttpd-1.4.19-access_allow.diff - lighttpd-1.4.19-access_allow.diff (2.6 KB) japc, 06/05/2008 03:15 PM

Also available in: Atom PDF