summaryrefslogtreecommitdiff
path: root/doc/access.txt
blob: acfdcb726a31eac724c8a5afb82a2ca1a0ff5cd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
======
Access
======

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

:Author: Allan Wind
:Date: $Date: 2005/01/30 11:34:32 $
:Revision: $Revision: 1.1 $

:abstract:
  The access module is used to deny access to files with given trailing path names.
 
.. 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.