small tip for cgi

This commit is contained in:
prx 2021-01-14 13:54:29 +01:00
parent f6bc000adc
commit 495fa3213f
1 changed files with 2 additions and 0 deletions

2
vger.8
View File

@ -49,6 +49,8 @@ will be executed as a cgi script. This path is relative to the served capsule. A
vger -c /cgi-bin/hello.cgi vger -c /cgi-bin/hello.cgi
.Ed .Ed
.Pp .Pp
Note you can define a directory instead of a single file.
.Pp
In this case, In this case,
.Xr pledge 2 .Xr pledge 2
promises are set to "stdio proc exec" promises are set to "stdio proc exec"