root/trunk/doc/cgi.txt

Revision 1349, 0.9 kB (checked in by darix, 2 years ago)

- merged lighttpd-merge-1.4.x so we finally work in trunk/ ! yeah \o/

  • Property svn:eol-style set to native
Line 
1===
2CGI
3===
4
5---------------
6Module: mod_cgi
7---------------
8
9:Author: Jan Kneschke
10:Date: $Date: 2005-03-28T08:30:05.699628Z $
11:Revision: $Revision: 227 $
12
13:abstract:
14  The cgi module provides a CGI-conforming interface.
15 
16.. meta::
17  :keywords: lighttpd, cgi
18 
19.. contents:: Table of Contents
20
21Description
22===========
23
24CGI programs allow you to enhance the functionality of the server in a very
25straight and simple way..
26
27Options
28=======
29
30cgi.assign
31
32  file-extensions that are handled by a CGI program
33
34  e.g.: ::
35 
36    cgi.assign = ( ".pl"  => "/usr/bin/perl",
37                   ".cgi" => "/usr/bin/perl" )
38
39Examples
40========
41
42To setup a executable which doesn't need the help of a external program you
43just don't specify a handler for the extension. ::
44
45  cgi.assign = ( ".sh" => "" )
46 
47If the file has no extension keep in mind that lighttpd matches not the
48extension itself but the right part of the URL: ::
49
50  cgi.assign = ( "/testfile" => "" )
Note: See TracBrowser for help on using the browser.