Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: IIS 6 - Get works, post does not

by gwhite (Friar)
on Apr 28, 2008 at 15:58 UTC ( #683324=note: print w/ replies, xml ) Need Help??


in reply to Re: IIS 6 - Get works, post does not
in thread IIS 6 - Get works, post does not

CGI - but I am getting a 403 error before the data ever gets posted to the form.

I enter http://mysite/cgi-bin/register.cgi, it shows the input form with pass/username fields and posts data back to /cgi-bin/register.cgi. When I click submit, it gives me a 403 page.

g_White


Comment on Re^2: IIS 6 - Get works, post does not
Re^3: IIS 6 - Get works, post does not
by Anonymous Monk on Apr 28, 2008 at 16:25 UTC

      OK, one issue down, no longer receiving 403 errors. However, after the post, the script is supposed to redirect to the member landing page (another cgi program), and all we are getting is the registration login page returned with the user name filled in (blank password). Looking through an HTTP sniffer, I can see the post to Register.cgi working fine, but no 302 header is ever created. I can move (and have) the Register.cgi to my Unix box, and it works correctly.

      update: found a cryptic reference that you must set at least one Mime type in IIS for redirect to work. Testing on in-house server and it appears to be making a difference. Will update again after checking client server.

      g_White

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://683324]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2014-10-24 20:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (137 votes), past polls