トップページ > サポートセンター> CGIのパスなどの設定


 ★CGIのパスなどの設定★



CGIのパスなどの設定
CGIのPATH /usr/bin/perl
SENDMAILのPATH /usr/sbin/sendmail
サーバーフルパス /var/www/vhosts/ドメイン名/httpdocs

httpdocs以下にてCGIを使用する場合の.htaccessファイル記述例
Options ExecCGI Includes

AddType text/x-server-parsed-html .shtml
AddType text/x-server-parsed-htm .shtm
AddType application/x-httpd-cgi .cgi

Options +ExecCGI +Includes -Indexes +FollowSymLinks
AddHandler cgi-script .cgi

<IfModule mod_php4.c>
php_flag register_globals off
</IfModule>