1. the DocumentRoot is /var/www/html
2. below is my configuration relative cgi configuration in httpd.conf:
代碼: 選擇全部
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
AddHandler cgi-script cgi pl
<Directory /home/*/htdoc>
AllowOverride FileInfo AuthConfig
Options MultiViews -Indexes SymLinksIfOwnerMatch IncludesNoExec +ExecCGI
Order allow,deny
Allow from all
</Directory>
4. however, if i relocate test-script in /var/www/perl, the script runs fine
5. system information:
Apache 1.3.26 on Mandrake Linux 9.0
besides, i found there are two conf file, httpd.conf and httpd-perl.conf which are almost identical, except the additional configuration i add in httpd.conf
thanks