Next: , Previous: , Up: Server   [Contents][Index]


5.4.3 cgiServer

This process handle queries from the cgi script.

Process conceptual model:

mediatex-figures/cgiServer

Example:

$ telnet localhost 6560
Headers
	Collection	hello
        Server          fbc144f6da753a9a4288e2915df14edd
	Type		CGI
	DoCypher	FALSE
Body
#                date                             host …
D 2013-12-10,10:24:24 fbc144f6da753a9a4288e2915df14edd …

…                             hash                size extra
… 365acad0657b0113990fe669972a65de               15106 test@test.org
^]quit

# tail -f /var/log/mediatex.log
[info mdtxd.c:384] socketJob
...
[notice mdtxd.c:400] hello: DISK message from \
                   fbc144f6da753a9a4288e2915df14edd server (localhost)

Code:

src/server/cgiSrv.c