POST & cgi-bin

L

Lawood

I developed some CGI code on a UNIX based system and am now installing it on
a windows based system and have ran into a problem with a FORM POST ACTION.
The problem is when the link to the URL is executed the open fails with the
windows flag waving forever. If I point it to the same URL on my UNIX server
it works just fine. A sample of the code is below.
<FORM name='Selection_Test'
METHOD='POST' ACTION='http://www.xxxxxx.org/cgi-bin/Test.cgi'
onsubmit='return Validate(this)'>
<INPUT TYPE='hidden' NAME='Test' VALUE='OK'>

All help is much appreciated and thanks in advance.
Leonard
 
L

Lawood

Ok. I was able to get it to work by changing POST to GET. Does anybody know
why one works and the other doesn't? I see several examples where people are
using POST.
Thanks,
 
R

Ronx

Have you set up the server to accept POST, as well as GET?
If using IIS, open the IIS MMC (Control Panel->Administrative
Tools->IIS ) and right click on website.
Then choose properties
Then Home Directory tag
Click Configuration button
Mappings tab
Find .cgi extension and check the entry in Verbs column.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top