Related blog post:
Technologies left behind (english)
Hátrahagyott technológiák (hungarian)
To start the test server run:
$ docker compose up -dTo stop the test server run:
$ docker compose downBuilding the C code for CGI:
$ gcc test.c -o cgi-bin/testRunning the CGI scripts:
$ curl 'http://localhost:8081/cgi-bin/test.pl?foo=bar'
Hello, World.
[...]Accessing the FastCGI server:
$ curl 'http://localhost:8081/fcgi-bin/foo/bar'
Params:
[...]Accessing the SCGI server:
$ curl 'http://localhost:8081/scgi-bin/foo/bar'
Headers:
[...]