PageViews: 115,157
hits
/ 431
nets
home
updates
download
manual
documents
feedback
search
ITS more
Reference Manual of DeleGate
SIMPLE
PLAIN
SHTML
DeleGate reference manual version 9.9 / DeleGate as a
CGI
program
[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".