Apache CGI を有効にする

Apahce 名前ベースのヴァーチャルホスト (name-based virtual hosting)に引き続き、Apache で CGI を有効にする方法を紹介する。 [root@centkun ~]# vi /etc/httpd/conf/httpd.conf 拡張子とハンドラーを関連付ける。 (before) #AddHandler cgi-script .cgi (after) AddHandler cgi-script .cgi CGI スクリプトの実行を許可する。以下の設定は、すべてのディレクトリ "/" 以下に CGI スクリプトの実行を許可している。 (before) <Directory />     Options FollowSymLinks     AllowOverr... 続きを読む