Annotation of embedaddon/lighttpd/doc/outdated/cgi.txt, revision 1.1.1.1

1.1       misho       1: ===
                      2: CGI
                      3: ===
                      4: 
                      5: ---------------
                      6: Module: mod_cgi
                      7: ---------------
                      8: 
                      9: :Author: Jan Kneschke
                     10: :Date: $Date: 2004/11/03 22:26:05 $
                     11: :Revision: $Revision: 1.2 $
                     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" => "" )

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>