You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
942 B
Plaintext
51 lines
942 B
Plaintext
19 years ago
|
===
|
||
|
CGI
|
||
|
===
|
||
|
|
||
|
---------------
|
||
|
Module: mod_cgi
|
||
|
---------------
|
||
|
|
||
|
:Author: Jan Kneschke
|
||
|
:Date: $Date: 2004/11/03 22:26:05 $
|
||
|
:Revision: $Revision: 1.2 $
|
||
|
|
||
|
:abstract:
|
||
18 years ago
|
The cgi module provides a CGI-conforming interface.
|
||
![]()
17 years ago
|
|
||
19 years ago
|
.. meta::
|
||
|
:keywords: lighttpd, cgi
|
||
![]()
17 years ago
|
|
||
19 years ago
|
.. contents:: Table of Contents
|
||
|
|
||
|
Description
|
||
|
===========
|
||
|
|
||
|
CGI programs allow you to enhance the functionality of the server in a very
|
||
18 years ago
|
straight and simple way..
|
||
19 years ago
|
|
||
|
Options
|
||
|
=======
|
||
|
|
||
|
cgi.assign
|
||
|
|
||
|
file-extensions that are handled by a CGI program
|
||
|
|
||
|
e.g.: ::
|
||
![]()
17 years ago
|
|
||
19 years ago
|
cgi.assign = ( ".pl" => "/usr/bin/perl",
|
||
|
".cgi" => "/usr/bin/perl" )
|
||
|
|
||
|
Examples
|
||
|
========
|
||
|
|
||
|
To setup a executable which doesn't need the help of a external program you
|
||
|
just don't specify a handler for the extension. ::
|
||
|
|
||
|
cgi.assign = ( ".sh" => "" )
|
||
![]()
17 years ago
|
|
||
19 years ago
|
If the file has no extension keep in mind that lighttpd matches not the
|
||
|
extension itself but the right part of the URL: ::
|
||
|
|
||
|
cgi.assign = ( "/testfile" => "" )
|