[CTX]
[ALL]
DeleGate as a
CGI program
例) DeleGate を CGI プログラムとして使う
DeleGate を、HTTP サーバーからの CGI プログラムとして使用できます。
例) 次のように、HTTP サーバー (A) の "httpd.conf" ファイル内で指定する。
Exec /other/* /path/of/cgi-delegate
続けて、次のような内容のファイル /path/of/cgi-delegate を書きます:
#!/bin/sh
- delegated -Fcgi
- MOUNT="/-* =" \
MOUNT="/www2/* http://wwwserv2/*" \
MOUNT="/news/* nntp://newsserv/*"
これは、
/other/www2/(HTTP サーバー "wwwserv2" の内容)と、
/other/news/(NNTP サーバー "newsserv" の内容)を含む、
擬似サブツリー "/other/" をサーバー (A) に追加します。