Commit graph

10 commits

Author SHA1 Message Date
prx
55042768e5 restore parent link in autoindex and add comments 2021-01-31 22:05:48 +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
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
prx
4e82f1e44c remove unused extension and fix warnings 2020-12-09 21:29:15 +01:00
Florian Obser
5b3dc1dd02 Do not include c sources 2020-12-05 09:39:12 +01:00
Solene Rapenne
aa3b495dbf Add manual page 2020-12-03 21:40:16 +01:00
Solene Rapenne
c399161f7a Also clean .core files in the clean target 2020-12-03 21:06:28 +01:00
Solene Rapenne
b052105b2b Move install target below so it's not a default make target 2020-12-02 20:02:07 +01:00
Solene Rapenne
7575537b6e Add install target with customizable PREFIX 2020-12-02 18:06:45 +01:00
Solene Rapenne
c2d813c0f1 Init vger 2020-12-01 23:39:05 +01:00