Commit graph

29 commits

Author SHA1 Message Date
q
0ba2a2e03b initial thridculture edits 2025-09-23 17:59:42 -04:00
q
dc1afb2cb2 first commit 2025-09-23 17:27:43 -04:00
Stanley Lieber
1a0337f684 bin/contrib/rc-httpd/handlers/error: add missing error 400 2021-11-22 00:45:43 -05:00
Stanley Lieber
3a90e2da78 bin/contrib/rc-httpd{rc-httpd, handlers/error}: do some minimal sanitization on $SERVER_NAME before handing it off to select-handler. this prevents malformed Host: headers from retrieving arbitrary files from the file system. (thanks, Lightning) 2021-11-21 18:49:58 -05:00
Stanley Lieber
bd3a44e426 add bin/contrib/fix-rc-scripts (thanks, Ethan Gardner) 2020-06-15 20:22:56 -04:00
Stanley Lieber
7adaa4b130 bin/contrib/rc-httpd/rc-httpd: plan9port does not have read -c; replace with dd (thanks, khm) 2020-06-14 22:30:20 -04:00
Stanley Lieber
b2de370f6c bin/contrib/rc-httpd/handlers/{dir-index, serve-static}: urlencode -d -> urldecode.awk 2020-06-14 22:29:36 -04:00
Stanley Lieber
e1ab0fd080 bin/contrib/tcp80: plan9port does not include 9front utilities used by rc-httpd. set $PATH here to include replacement utilities from bin/contrib. 2020-06-14 22:28:55 -04:00
Stanley Lieber
edff6e771f bin/contrib/tcp80: set $PLAN9 here. 2020-06-12 22:17:58 -04:00
Stanley Lieber
37e2d06b1a bin/contrib/rc-httpd/select-handler: clarify comments; add rules for maintainer test apparatus. 2020-06-12 20:52:27 -04:00
Stanley Lieber
5e591403da bin/contrib/tcp80: do not set $USER; clarify comments. 2020-06-12 19:31:44 -04:00
Stanley Lieber
c76056fa49 bin/contrib/tcp80: some apps/ may require $USER being set, so do it here. 2020-06-12 00:00:09 -04:00
Stanley Lieber
0bd715dabb bin/contrib/rc-httpd/handlers/dir-index: use urlencode(1), not urlencode.awk (for now?) 2017-08-10 21:43:54 -04:00
Stanley Lieber
546bdc35ee bin/aux/* bin/contrib/*: change bang paths to /bin/*: this will later be documented. 2016-12-21 21:38:03 -05:00
Stanley Lieber
fe7c0ec45a bin/contrib/tcp80: move log to /var/log/rc-httpd 2016-12-01 19:46:03 -05:00
Stanley Lieber
721ac39234 bin/contrib/rc-httpd/handlers/dir-index: use urlencode.awk 2016-02-11 16:25:11 -05:00
Stanley Lieber
52d7d43342 bin/contrib/rc-httpd/rc-httpd: add $libdir 2016-02-11 16:24:49 -05:00
Stanley Lieber
c046dd4f8f add bin/contrib/rc-httpd/lib/urldecode.awk 2016-02-11 16:23:48 -05:00
Stanley Lieber
130a3f4454 bin/contrib/rc-httpd/handlers/serve-static: file(1): try Plan 9 syntax first, then devolve to UNIX. 2016-02-10 20:38:40 -05:00
Stanley Lieber
b40a814120 bin/contrib/rc-httpd/handlers/__mkfstmp: remove accidentally committed file. 2016-02-10 20:20:31 -05:00
Stanley Lieber
b64418b85f bin/contrib/rc-httpd: rc-httpd add system $PATH to $path; bin/contrib/rc-httpd/handlers/serve-static: try two different versions of file(1) syntax 2016-02-10 14:04:14 -05:00
Stanley Lieber
ccbcd67836 bin/contrib/tcp80: default log location is /var/log/www 2016-02-09 14:24:05 -05:00
Stanley Lieber
d9c48e6ee0 bin/contrib/rc-httpd/: fix default paths and environment variables; create a generic default select-handler; add tcp80, used for launching rc-httpd from listen(8) 2016-02-04 21:47:22 -05:00
Stanley Lieber
a99fa8b44f initial import of changes from 9front bikeshedding; bundle rc-httpd 2016-02-04 15:05:05 -05:00
Uriel
a2e426eb11 Add yiyus md2html.awk script as an alternative to markdown.pl 2009-07-28 14:49:52 +02:00
Uriel
31006aa484 Add urlencode.awk to contrib/, not used for now. 2009-02-18 09:25:10 +00:00
Uriel
7851c334b0 Style consistency fixes around bin/aux/* and bin/contrib/* 2008-12-21 00:13:53 +01:00
Uriel
eac8d656f3 Big cleanup of bin/, move external programs to contrib/, move minor useful scripts to aux/, and most important of all move controller.rc to werc.rc 2008-10-26 04:29:50 +01:00
Uriel
4d728ab9a8 Add a web server in rc by maht 2008-09-14 21:38:38 +02:00