Project

General

Profile

Actions

Mod cgi » History » Revision 1

Revision 1/31 | Next »
jan, 2006-08-03 15:43


{{{
#!rst ===
CGI ===

---------------
Module: mod_cgi
---------------

.. meta::
:keywords: lighttpd, cgi

.. contents:: Table of Contents

Description ===========

CGI programs allow you to enhance the functionality of the server in a very
straight and simple way..

Options =======

cgi.assign

file-extensions that are handled by a CGI program
e.g.: ::
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" => "" )

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" => "" )

}}}

Updated by jan over 17 years ago · 1 revisions