Click to See Complete Forum and Search --> : CGIs called with "Action" form attribute


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)

Carla Schroder
11-05-2006, 03:11 PM
Doesn't the path to your .cgi have to be a url, rather than a filepath? like http://localhost/foosite/example.cgi

jdac
11-13-2006, 10:15 PM
yeah, that worked just fine!

thank you very much!

Carla Schroder
11-14-2006, 07:06 PM
ZOMG it worked???

Cool. :)