static-or-cgi (175B)
1 #!/bin/rc 2 cgiargs=$* 3 4 fn error{ 5 if(~ $1 404) 6 exec cgi $cgiargs 7 if not 8 $rc_httpd_dir/handlers/error $1 9 } 10 11 if(~ $location */) 12 exec cgi $cgiargs 13 if not 14 exec serve-static
werc-1.5.0-tweaksTweaks for the werc website builder created by the mad architect Uriel | |
| Log | Files | Refs | README |