File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / lighttpd / doc / outdated / cgi.txt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Oct 14 10:32:48 2013 UTC (11 years, 5 months ago) by misho
Branches: lighttpd, MAIN
CVS tags: v1_4_41p8, v1_4_35p0, v1_4_35, v1_4_33, HEAD
1.4.33

    1: ===
    2: CGI
    3: ===
    4: 
    5: ---------------
    6: Module: mod_cgi
    7: ---------------
    8: 
    9: :Author: Jan Kneschke
   10: :Date: $Date: 2013/10/14 10:32:48 $
   11: :Revision: $Revision: 1.1.1.1 $
   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>