khm
5bf3790c9e
paste: remove some code smell, roll index.html into app.rc
2016-02-17 12:19:07 -05:00
sl
ba554d6d62
bin/contrib/rc-httpd/handlers/dir-index: use urlencode.awk
2016-02-11 16:25:11 -05:00
sl
3761dadd69
bin/contrib/rc-httpd/rc-httpd: add $libdir
2016-02-11 16:24:49 -05:00
sl
30560ff627
add bin/contrib/rc-httpd/lib/urldecode.awk
2016-02-11 16:23:48 -05:00
sl
15984f4b4a
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
sl
f868bf8769
apps/wman: fix comments and restore template syntax.
2016-02-10 20:34:33 -05:00
sl
7db7582b57
apps/blagh: use new datei and datet functions
2016-02-10 20:33:27 -05:00
sl
cc37685f8b
bin/cgilib.rc: hack urlencode/urldecode for UNIX *and* Plan 9
2016-02-10 20:32:57 -05:00
sl
89d9d99912
bin/werclib.rc: add datei() and datet()
2016-02-10 20:29:27 -05:00
sl
396ff63593
bin/contrib/rc-httpd/handlers/__mkfstmp: remove accidentally committed file.
2016-02-10 20:20:31 -05:00
sl
5bde5e35a5
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
sl
44d244d62a
bin/contrib/tcp80: default log location is /var/log/www
2016-02-09 14:24:05 -05:00
sl
96af0b9ca0
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
sl
32414fdfff
initial import of changes from 9front bikeshedding; bundle rc-httpd
2016-02-04 15:05:05 -05:00
Uriel
3b1be16a19
Be a bit more careful before we redirect to plain files when we get a trailing / and can't find a dir.
2012-08-19 01:16:10 +02:00
Uriel
131d63f0f0
Update readme to point to #cat-v instead of #plan9.
2012-08-19 01:07:54 +02:00
Uriel
916eba13c9
Ignore leading spaces/tabs when extracting a title from HTML files.
2011-06-30 22:58:17 +00:00
Uriel
10a7206fcf
Fix typo and add a new item to todo list.
2011-06-28 22:12:53 +00:00
Uriel
11d50bb6f2
When more than one file with the same 'name' (eg., foo.md, foo.html) do not display it more than once in dir listings.
2011-06-28 03:48:22 +00:00
Uriel
3d2b2ea2d7
Documentation updates:
...
- Try to explain better that werc expects Plan 9 tools in /usr/local/plan9/bin/
- Note possible bug.
- Other small doc changes.
2011-06-28 01:50:24 +00:00
Uriel
18032ba244
Fix stupid typo in comment.
2011-02-05 16:50:47 +00:00
Uriel
5ef94d8c75
Add commented out stderr debug command. This is provides functionality similar to werc_errlog_wrap.rc but it is easier to enable without changing the http server configuration.
2011-02-05 16:49:29 +00:00
Uriel
726b1322f1
Fix typo in Apache instructions, thanks cdarwin!
2011-01-16 15:39:41 +00:00
Uriel
7327afab9d
Two new configuration options for wman:
...
* wman_tmac (defaults to 'an') to pass as parameter to the -m flag of troff.
* fn wman_out_filter (defaults to calling wman_default_out_filter) to do post-processing (eg., calling col) of man page output.
Also filter out directories starting with _ from man page section listings.
2011-01-09 10:48:18 +00:00
Uriel
488a431d11
Werc website and doc updates.
2011-01-09 10:44:54 +00:00
Uriel
6bd0bcf282
Add TODO
2010-09-17 07:04:43 +00:00
Uriel
cc5f285c2c
Make dir listings a bit prettier by replacing [-_] with spaces.
2010-06-28 09:06:45 +00:00
Uriel
8d764cc1d1
Fix typo in comment, thanks btdn for reporting it.
2010-06-26 03:54:41 +00:00
Uriel
91f801b8c0
Merge tags.
2010-06-21 23:41:33 +00:00
Uriel
c98f8d6c09
When showing a _header.md file for a dir listing, try to extract the page title from it.
2010-06-21 23:41:18 +00:00
Uriel
b35a3dc29e
Added tag LATEST-RELEASE for changeset 3da783326101
2010-06-11 06:41:18 +02:00
Uriel
4987594570
New release
2010-06-11 06:41:17 +02:00
Uriel
f4497d7010
More documentation work.
2010-06-11 04:28:39 +00:00
Uriel
14e63eedf2
Many documentation changes and updates.
2010-06-11 04:28:22 +00:00
Uriel
2f70d35811
Fix 'Hello World' app to work with modern app API. Thanks EthanG for pointing this out.
2010-06-06 18:06:21 +00:00
Uriel
718cb1288d
Replace '_' in paths in werc's docs section with '-', and set up apropriate redirects to avoid broken links.
2010-05-30 18:04:04 +00:00
Uriel
7bd744527d
Handle https urls consistently in redirects.
2010-05-24 23:35:08 +00:00
Uriel
8107467e4f
Add verdana as fallback font.
2010-05-05 21:58:45 +00:00
Uriel
a78c2649c3
Comment out reddit button because reddit's servers are very unreliable.
2010-05-05 21:58:13 +00:00
Uriel
d5826ffa8d
Document what you need to change in initrc if you want to use 9base.
2010-05-05 21:57:38 +00:00
Uriel
6a194f3bc2
Add testimonials page to werc site.
2010-04-25 13:19:14 +00:00
Uriel
c23353dc18
Add sitemap.xml to dirfilter so it doesn't show up in dir listings when no index exists in site root.
2010-04-25 11:58:40 +00:00
Uriel
adab879435
Fix wording.
2010-04-25 11:57:18 +00:00
Uriel
1eadc2d92e
Fix typo.
2010-04-25 11:56:53 +00:00
Uriel
673489da59
Correct hg repo url.
2010-04-25 11:56:28 +00:00
Uriel
36abe01e69
Update README with 9base dependency.
2010-04-25 11:56:07 +00:00
Uriel
5d459fdae2
Remove direct links to feeds, they can be added in a user's config easily enough.
2010-04-17 01:06:16 +00:00
Uriel
738d4d8568
Remove internal nofollow's that waste pagerank.
2010-04-17 01:05:13 +00:00
Uriel
56e583853d
Fix typo.
2010-03-24 06:33:24 +00:00
Uriel
971acb54d1
Fix more typos, thanks farhaven.
2010-03-21 17:05:14 +00:00