[CTX]
[ALL]
DeleGate as a
CGI
program
Example: DeleGate as a
CGI
program
You can use DeleGate as a
CGI
program from a
HTTP
server. For example, specify in the "httpd.conf" file of your
HTTP
server(A) as follows.
Exec /other/* /path/of/cgi-delegate
Then write the content of the file /path/of/cgi-delegate as follows:
#!/bin/sh
delegated -Fcgi
MOUNT
="/-* =" \
MOUNT
="/www2/* http://wwwserv2/*" \
MOUNT
="/news/* nntp://newsserv/*"
This will add a pseudo sub tree "/other/" onto server(A) including /other/www2/ which is a content of a
HTTP
server "wwwserv2", and /other/news/ which is a content of a
NNTP
server "newsserv".