enable-cgi ( responder -- responder )
Furnace framework » HTTP server » Serving CGI scripts


Vocabulary
http.server.cgi

Inputs
respondera file-responder


Outputs
respondera file-responder


Word description
Enables the responder to serve .cgi scripts by executing them as per the CGI specification.

Examples
<dispatcher> "/var/www/cgi/" <static> enable-cgi "cgi-bin" add-responder


Side effects
Modifies responder

Definition


: enable-cgi ( responder -- responder )
[ serve-cgi ] "application/x-cgi-script" pick special>>
set-at ;