To enable cgi-bin: ## /etc/httpd/conf/access.conf AllowOverride None Options ExecCGI ## /etc/httpd/conf/srm.conf ScriptAlias /cgi-bin/ /home/httpd/cgi-bin/ To restart: ## /etc/httpd/httpd.restart % kill -HUP `cat /var/run/httpd.pid` To make Perl-cgi demo under /Home/Sun/Archive/NetApp/index.html % cd /Home/Sun/Archive/NetApp/ % mkdir Perl % cd Perl % mkdir src_USTC copy stuff to src_USTC % mkdir /home/httpd/cgi-bin/USTC % ln -s /home/httpd/cgi-bin/USTC USTC % cp src_USTC/* USTC/ % ln -s /Home/Sun/Archive/NetApp/Perl/src_USTC/Data /home/httpd/cgi-bin/USTC/Data % cd USTC/ Edit the Makefile according to your configuration % make All the files in the database directory should have the property -rw-r--r-- 1 nobody nobody 125 Apr 12 14:06 Chen..Jianwen..8616 Those created by /cgi-bin/ are such, and we should % su % chown nobody Data/*; chgrp nobody Data/*; if some files are not; otherwise /cgi-bin/ has trouble overwriting it. MMM: If you want to move to MMM, you can just copy cgi files to /var/www/cgi-bin/USTC and other data files to /var/www/htdocs/USTC both dirs have owner as liju99