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

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.


Replies are listed 'Best First'.
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.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://683324]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2018-06-19 09:20 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (111 votes). Check out past polls.