Member Support ~ Linux Admin User Guide ~ CGI


1. All CGIs must placed under the HTML home directory and extension must in .cgi or .pl. To change this attribute. Edit the file /opt/httpd/conf/httpd.conf and find the line:

AddHandler cgi-script .cgi .pl


Append any extension for CGI executable.

Note: This change will affect all the virtual host web site.


2. Restart the Web Server

# /opt/httpd/bin/apache restart


Room 1619, Fortune Commercial Building, 362 Sha Tsui Road, Tsuen Wan, N.T.
Tel: (852) 2409-8602    Fax: (852) 2408-8632    E-mail: info@unisite.net