Skip to main content

:: enable cgi support on apache ::

:: what is
please take a look on this.

:: install depedency
- make sure perl and apache has been installed on the box.

:: how to enable cgi
+[ configure httpd.conf ]
[ me: conf ]# vi httpd.conf
## add/change on this line :
# 
# add +ExecCGI on 

     Options FollowSymLinks +ExecCGI
     AllowOverride None
     Order allow,deny
     Deny from all

# add index.cgi on DirectoryIndex

     DirectoryIndex  index.php index.cgi index.html

# add this line on 
AddHandler cgi-script .cgi .pl

+[ restart httpd ]
[ me: ~ ]# /etc/init.d/httpd restart

:: links
+ googlelinux
+ thesitewizard

Comments