Ed,

I have the following script which works on both my IIS3 and IIS4 servers.  Several 
people have claimed the first line is not necessary and while I've never removed it, 
it doesn't seem to hurt.  I was getting the same messages you were about "no header 
info" until I added the REBOL [...], AND the print "Content-Type..." to the top 
portion of the script.  I know this is get type still, not the post method you're 
looking for but maybe it will help.

#!/inetpub/wwwroot/ititest/ssp/rebol --cgi
REBOL [
     Title: "Test Script"
]
print "Content-Type: text/html^/"
print [
     <HTML><TITLE> "Testing 1 2 3" </TITLE>
     <BODY>
]
query: make object! decode-cgi-query system/options/cgi/query-string
print ["Email confirmation has been sent to" query/email <BR> "URL:" query/url]
print [
     </BODY>
     </HTML>
]


-->S<

At 03:42 PM 1/19/00 +0000, [EMAIL PROTECTED] wrote:
> >IIS.  Now I had problems very similiar which I couldnt figure >out until I changed
>the form method in the HTML script from a >method of "post" to "get".
>
>I`ve played around a wee bit more and managed to get it to work under IIS4.
>Well that is A rebol script to work under IIS. Sadly not the one I want to work
>which is a form that needs a POST method. How can a post method in a form under
>rebol and IIS be decoded ?
>
>As for using IIS3, I`ve still had no luck even with the detailed setup instructions
>sterling gave me a while back. It gives that header error with even the simpliest
>rebol gi scripts.
>
>Ed. 

Reply via email to