Project

General

Profile

Actions

Mod access » History » Revision 3

« Previous | Revision 3/28 (diff) | Next »
Anonymous, 2006-11-14 22:47


{{{
#!rst ======
Access ======

------------------
Module: mod_access
------------------

.. meta::
:keywords: lighttpd, trailing path access control

.. contents:: Table of Contents

Description ===========

The access module is used to deny access to files with given trailing path names.

Options =======

url.access-deny
Denies access to all files with any of given trailing path names.

Default: empty
Example: ::
url.access-deny = ( "~", ".inc")
will deny access to all files ended with a diacritical mark () or .inc
such as example
or example.inc. A trailing diacritical mark is often
used by editors for backup files. And the .inc extension is often used
for include files with code.

Directories ===========

To deny access to a directory, this could be used:

$HTTP["url"] =~ "^/libraries" {
url.access-deny = ("")
}

}}}

Updated by Anonymous about 18 years ago · 3 revisions