factor/basis/http/server/cgi/cgi-docs.factor

18 lines
633 B
Factor
Raw Normal View History

USING: help.markup help.syntax http.server.static ;
2008-09-27 12:37:46 -04:00
IN: http.server.cgi
HELP: enable-cgi
{ $values { "responder" file-responder } }
{ $description "Enables the responder to serve " { $snippet ".cgi" } " scripts by executing them as per the CGI specification." }
{ $examples
{ $code
"<dispatcher>
\"/var/www/cgi/\" <static> enable-cgi \"cgi-bin\" add-responder"
2008-09-27 12:37:46 -04:00
}
}
{ $side-effects "responder" } ;
ARTICLE: "http.server.cgi" "Serving CGI scripts"
"The " { $vocab-link "http.server.cgi" } " implements CGI support. It is used in conjunction with a " { $link <static> } " responder."
{ $subsections enable-cgi } ;