Problem sending form to cgi file

I encoded the CMS for the client, everything is fine, except that the client said:

Use your previous shopping cart and integrate it into a new design. The previous shopping cart file is shopper.cgi, and I want to submit my form to this shopper.cgi

When I do this, a file open dialog opens asking me to save the file or open the file.

Can anyone suggest how I can submit my form to shopper.cgi? I am starting a wamp server than ks

+3
source share
2 answers

Your web server is not configured to interpret / execute .cgi files. If you are using apache, add AddHandler cgi- script to your .htaccess or server configuration:

AddHandler cgi-script .cgi 
+3

All Articles