jdac
11-04-2006, 12:46 AM
I have Apache 2 running on my Linux (DEBIAN) computer. I can execute CGI's correctly if I access them directly, for example
at http://localhost/cgi-bin/example.cgi.
However if i call that very same cgi from any FORM, for example with
"action=/usr/local/apache2/cgi-bin/example.cgi" as the FORM
action attribute , a dialog
box will open asking me if i want to DOWNLOAD the cgi, instead of executing it! :confused:
Can someone please illuminate me? It's getting frustrating :(
(NOTE: im using firefox as my browser)
at http://localhost/cgi-bin/example.cgi.
However if i call that very same cgi from any FORM, for example with
"action=/usr/local/apache2/cgi-bin/example.cgi" as the FORM
action attribute , a dialog
box will open asking me if i want to DOWNLOAD the cgi, instead of executing it! :confused:
Can someone please illuminate me? It's getting frustrating :(
(NOTE: im using firefox as my browser)