Omar Polo
cc8c2901ad
added ``alias'' option to define hostname aliases for a server
2021-04-29 18:23:35 +00:00
Omar Polo
8e8b2e252c
pidfile support with `-P pidfile'
2021-04-28 12:45:22 +00:00
Omar Polo
9cc630aa63
added ``env'' option to define environment vars for CGI scripts
2021-04-28 12:43:17 +00:00
Omar Polo
4d820b6cd2
use `text/x-patch' for .patch and .diff files
2021-04-21 07:51:29 +00:00
Omar Polo
3f47867e1d
typo... in the program name...
...
Just how retarded can I be?
2021-04-16 13:28:56 +00:00
Omar Polo
b7a9906151
typo
2021-04-15 20:14:18 +00:00
Omar Polo
dafaf46734
change description of `entrypoint'
2021-04-15 20:13:44 +00:00
Omar Polo
1de922891b
typos
2021-04-15 19:43:46 +00:00
Omar Polo
89541eeec0
define TLS_VERSION, TLS_CIPHER and TLS_CIPHER_STRENGTH for CGI scripts
2021-04-13 06:59:54 +00:00
Omar Polo
b890467e60
typo
2021-03-20 11:46:12 +00:00
Omar Polo
2c3e53dac6
give each server process its own socket for the executor
...
this fixes a bug introduced with the prefork mechanics: every server
process shared the same socket, and this would cause a race condition
when multiple server processes asked for a script cgi being executed.
This gives each server process its own socket to talk to the executor,
so the race cannot happen.
2021-03-03 17:22:01 +00:00
Omar Polo
02be96c6dd
add `require client ca' rule to require certs signed by a CA
2021-02-09 22:30:04 +00:00
Omar Polo
b63e30ff44
define TLS_CLIENT_NOT_BEFORE/NOT_AFTER in CGI scripts
2021-02-07 21:47:01 +00:00
Omar Polo
3abf91b0b4
improve logs management
2021-02-07 15:30:28 +00:00
Omar Polo
a709ddf5eb
added prefork option
2021-02-07 12:05:32 +00:00
Omar Polo
2b92a4477a
reorder stuff
2021-02-06 18:50:42 +00:00
Omar Polo
6c6f242a54
escape %
2021-02-06 18:28:56 +00:00
Omar Polo
e3ddf39095
add the ``entrypoint'' option
2021-02-06 18:28:43 +00:00
Omar Polo
6abda252e9
added `block return'' and
`strip'' options
2021-02-06 17:22:37 +00:00
Omar Polo
38d4db740d
improve manpage
2021-02-04 14:38:37 +00:00
Omar Polo
3007f56596
mention SIGHUP in manpage
2021-02-04 13:34:27 +00:00
Omar Polo
4ee08bd148
fix location example
2021-02-03 14:01:00 +00:00
Omar Polo
87f2b68b58
cgi now follows globbing rules
2021-02-02 22:38:35 +00:00
Omar Polo
ee655e64d7
sync CGI section with actual implementation
2021-02-01 13:19:06 +00:00
Omar Polo
39a7b61145
sync date
2021-01-30 12:16:18 +00:00
Omar Polo
6016a593a3
invert the location precedence: first match wins
...
It's how httpd(8) does it, and it allows us to call fnmatch less time
2021-01-30 12:04:20 +00:00
Omar Polo
714685c10c
manpage improvements
2021-01-30 11:49:27 +00:00
Omar Polo
75fbb1789e
manual improvements & add section about MIME
2021-01-28 16:29:06 +00:00
Omar Polo
8904fa0e64
-v for verbose logging
2021-01-27 23:14:16 +00:00
Omar Polo
46af8c6cfe
drop the daemon config in favour of the -f flag
...
Now it daemonize by default when running with a config, unless the -f
flag is given.
2021-01-27 12:04:37 +00:00
Omar Polo
71cf39757d
added missing argument for -H
2021-01-25 14:32:16 +00:00
Omar Polo
f28d96d399
sync manpage with actual usage and improve examples
2021-01-25 14:31:34 +00:00
Omar Polo
ae08ec7da5
chroot & drop privileges
2021-01-25 10:30:07 +00:00
Omar Polo
252908e6bb
added support for location blocks
2021-01-24 18:53:26 +00:00
Omar Polo
c8b7433918
added support for location blocks
2021-01-24 14:11:40 +00:00
Omar Polo
28ec617809
sync the CGI environment with the manpage
...
while there also add SERVER_PROTOCOL
2021-01-24 10:06:48 +00:00
Omar Polo
a7b9bb4d24
specify in which directory CGI scripts are executed
2021-01-24 09:20:38 +00:00
Omar Polo
e7a2a99b5a
added index option
2021-01-24 09:14:01 +00:00
Omar Polo
de27389e83
add globbing notice and sync example with actual flags
2021-01-21 09:17:13 +00:00
Omar Polo
6119e13e8a
moving "default type" from global options to server options
2021-01-19 11:28:41 +00:00
Omar Polo
05c23a54ea
add "lang" server option
2021-01-19 10:58:29 +00:00
Omar Polo
eb6997835a
trying to get the man on par with the recent changes
2021-01-18 21:52:01 +00:00
Omar Polo
1590277007
conf & vhosts
...
* gmid.c (main): changed behaviour: daemon off by default
(main): changed -c in -C (cert option)
(main): changed -k in -K (key option, for consistency with -C)
(main): added -c to load a configuration
(main): certs, key and doc (-C -K and -d) doesn't have a default value anymore
(handle_handshake): add vhosts support
2021-01-15 09:17:43 +00:00
Omar Polo
b9220ca4de
new README + wording in manpage
2021-01-11 12:51:25 +00:00
Omar Polo
85dff1f9c3
fix remote_user for CGI and add -6 flag to enable ipv6
2021-01-11 12:08:50 +00:00
Omar Polo
ef04b55160
switch to Bjoern Hoehrmann UTF-8 decoder
...
It's correct, while my hacked valid_multibyte_utf8 would allow things
that aren't technically UTF8.
2021-01-09 20:32:23 +00:00
Omar Polo
00781742c5
reject %00
2020-12-26 00:37:43 +01:00
Omar Polo
df6ca41da3
IRI support
...
This extends the URI parser so it supports full IRI (Internationalized
Resource Identifiers, RFC3987). Some areas of it can/may be improved,
but here's a start.
Note: we assume UTF-8 encoded IRI.
2020-12-26 00:33:11 +01:00
Omar Polo
043acc97b1
mention the %2F caveat
2020-12-25 13:15:15 +01:00
Omar Polo
83000e2dd4
improve wording
...
"concurrently" means at the same time, which can be confusing when we
say that it's single-threaded on a single process.
2020-12-21 15:51:09 +01:00