Solution: Add the ExecCGI option to that directory via either httpd.conf or a .htaccess file.
Solution: Move the CGI program there or add an AddHandler cgi-script .cgi statement to httpd.conf.
Solution (assuming a *nix-type operating system): chmod +x my_prog.cgi
Solution: Run the program from the command line and verify that a) it actually runs rather than dying with a compile-time error and b) it generates the correct output, which should include, at the very minimum, a Content-Type header and a blank line following the last of its headers.
In reply to Re: how do i configure apache webserver to run perl scripts
by dushyantvaghela
in thread how do i configure apache webserver to run perl scripts
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |