Warning |
fml8 CGI の内部構造については the Section called メソッド in Chapter 42 を参照して下さい。 |
suexec 機能を利用可能な apache を作る必要があります。 configure を実行する際に、
(apache 1.x の場合) # ./configure --enable-suexec --suexec-caller=www (...その他のオプション...)などとします。
Important: この例では suexec を呼び出すことが可能なユーザが www です。 CGI ユーザには、CGI 用途専用のユーザを用意して下さい。
suexec を呼び出すことが可能なユーザが www です。 CGI ユーザには、CGI 用途専用のユーザを用意して下さい。
インストール後、~ユーザ/cgi-bin/ を許すように httpd.conf を 変更する必要があります。
設定例: <Directory /home/*/*/public_html> AllowOverride FileInfo AuthConfig Limit Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec ExecCGI <Limit GET POST OPTIONS PROPFIND> Order allow,deny Allow from 特定のホスト </Limit> </Directory> <IfModule mod_mime.c> ... 略 ... AddHandler cgi-script .cgi ... 略 ... </IfModule>
author's homepage is www.fml.org/home/fukachan/.
Also, visit nuinui's world :) at www.nuinui.net.
For questions about FML, e-mail <fml-bugs@fml.org>.