CGI Script not running in PHP file
- by Unykvis
I have a CGI script in the server called script.cgi and I have added the following code to the domain vhost:
Action add-footer /cgi-bin/script.cgi
AddHandler add-footer .htm .html
I have change it to:
Action add-footer /cgi-bin/script.cgi
AddHandler add-footer .htm .html .php
If the page is HTML the code will run but if the…