Changeset 12704 in project for wiki/eggref


Ignore:
Timestamp:
12/01/08 19:44:24 (11 years ago)
Author:
sjamaan
Message:

Try to document cgi-handler a bit better

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/spiffy

    r12657 r12704  
    606606<procedure>(cgi-handler filename [interpreter])</procedure>
    607607
    608 The {{cgi-handler}} procedure is called by {{cgi-handler*}} with the
    609 filename. It's not very useful on its own.
     608The cgi handler simply calls CGI scripts. It is assumed the
     609requested file is executable if no interpreter is given.
     610(If used as a regular handler, it will only receive the
     611filename).
    610612
    611613<procedure>(cgi-handler* [interpreter])</procedure>
    612614
    613615The {{cgi-handler*}} procedure is usually more useful.  It allows you
    614 to define an interpreter to use for files and returns a file handler.
     616to define an interpreter to use for files and returns a new handler.
    615617See the example above for {{file-extension-handlers}}.
    616618
Note: See TracChangeset for help on using the changeset viewer.