|
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 | === |
|---|
| 2 | CGI |
|---|
| 3 | === |
|---|
| 4 | |
|---|
| 5 | --------------- |
|---|
| 6 | Module: 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 | |
|---|
| 21 | Description |
|---|
| 22 | =========== |
|---|
| 23 | |
|---|
| 24 | CGI programs allow you to enhance the functionality of the server in a very |
|---|
| 25 | straight and simple way.. |
|---|
| 26 | |
|---|
| 27 | Options |
|---|
| 28 | ======= |
|---|
| 29 | |
|---|
| 30 | cgi.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 | |
|---|
| 39 | Examples |
|---|
| 40 | ======== |
|---|
| 41 | |
|---|
| 42 | To setup a executable which doesn't need the help of a external program you |
|---|
| 43 | just don't specify a handler for the extension. :: |
|---|
| 44 | |
|---|
| 45 | cgi.assign = ( ".sh" => "" ) |
|---|
| 46 | |
|---|
| 47 | If the file has no extension keep in mind that lighttpd matches not the |
|---|
| 48 | extension itself but the right part of the URL: :: |
|---|
| 49 | |
|---|
| 50 | cgi.assign = ( "/testfile" => "" ) |
|---|