vi /etc/apache2/httpd.conf
add this line
"AddHandler cgi-script .cgi .pl"
save & exit
Step 2:
vi /etc/apache2/sites-enabled/000-default
add "+ExecCGI" under Options line
Options Indexes FollowSymLinks MultiViews +ExecCGI
AllowOverride None
Order allow,deny
allow from all
Step 3:
service apache2 restart
No comments:
Post a Comment