Solene Rapenne
31d384833f
Rewording
2021-02-08 21:55:55 +01:00
Solene Rapenne
ff78ea5049
Documentation rewording
2021-02-05 21:28:41 +01:00
prx
189803ab52
useless space
2021-01-31 21:21:46 +01:00
prx
de7cd12f9f
ignore after ? and make cgi+virtualhost work (sort of)
2021-01-31 21:21:15 +01:00
prx
495fa3213f
small tip for cgi
2021-01-14 13:54:29 +01:00
prx
470e47a018
Add simple cgi support +:
...
* read file byte after byte
* format code (syslog + err)
* move functions in utils.c
2021-01-14 13:31:51 +01:00
Solene Rapenne
c2debd2d6c
Man page rewording
2021-01-10 13:10:32 +01:00
prx
f60ea88c8d
add mimetype and autoindex option + minor changes
...
* follow style(9) for prototypes
* move first most used extension for more effeciciency when looking for mime
* add opts.h to deal with options
* remove lang=en by default
* add option to set default mimetype
* add option to autoindex if no index.gmi found
* redirect if ending "/" is missing
* send appropriate status code if request too long
* edit manpage and README for new options
2021-01-10 09:30:35 +01:00
Solene Rapenne
ec3d847e1c
explain inetd should only answer on 127.0.0.1 instead of all interfaces. Suggestion from xhr
2021-01-03 21:42:18 +01:00
Solene Rapenne
76c107a582
Reminder about opening TCP/1965 in the firewall
2021-01-02 12:31:18 +01:00
Solene Rapenne
f0f05b83aa
Add support to redirection
2021-01-01 21:00:40 +01:00
Solene Rapenne
e03ed1ca2b
Document exit status in man page
2020-12-04 18:57:15 +01:00
Solene Rapenne
b3bb3b2f91
Add chroot() feature
2020-12-03 22:59:39 +01:00
Solene Rapenne
d3b69329ad
Document the default index.gmi if no file is requested
2020-12-03 22:02:16 +01:00
Solene Rapenne
7fcb978bc5
Use hostname.example from RFC2606
2020-12-03 21:59:22 +01:00
Solene Rapenne
aa3b495dbf
Add manual page
2020-12-03 21:40:16 +01:00