Hi all,
I have no problem running a cgi script from a form on web host where the ACTION attribute is written either full URL or relative path, example
<FORM METHOD=post ACTION="http://www.webname.com/cgi-bin/message.cgi"> or <FORM METHOD=post ACTION="../cgi-bin/message.cgi"> etc etc.
but having a problem running on locally installed IIS server on my PC. IIS works just fine and the page can be accessed at http://localhost/index.html
If the cgi is located in C:/InetPub/wwwroot/cgi-bin/message.cgi, what should be the address to be written after ACTION ?
I tried putting in ike this <FORM METHOD=post ACTION="C:/InetPub/wwwroot/cgi-bin/message.cgi"> but failed to run the message.cgi file.
I have no problem running a cgi script from a form on web host where the ACTION attribute is written either full URL or relative path, example
<FORM METHOD=post ACTION="http://www.webname.com/cgi-bin/message.cgi"> or <FORM METHOD=post ACTION="../cgi-bin/message.cgi"> etc etc.
but having a problem running on locally installed IIS server on my PC. IIS works just fine and the page can be accessed at http://localhost/index.html
If the cgi is located in C:/InetPub/wwwroot/cgi-bin/message.cgi, what should be the address to be written after ACTION ?
I tried putting in ike this <FORM METHOD=post ACTION="C:/InetPub/wwwroot/cgi-bin/message.cgi"> but failed to run the message.cgi file.