2015-10-02 14:12:56 -04:00
|
|
|
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
|
2015-07-26 01:59:56 -04:00
|
|
|
"<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."
|
2009-10-01 15:56:36 -04:00
|
|
|
{ $subsections enable-cgi } ;
|