Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: Strawberry and IIS not playing well

by NetWallah (Canon)
on Nov 28, 2012 at 04:13 UTC ( [id://1005955]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Strawberry and IIS not playing well
in thread Strawberry and IIS not playing well

A little Googling delivers these bitmap-enhanced instructions for IIS6.

             "By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest."           -Confucius

  • Comment on Re^3: Strawberry and IIS not playing well

Replies are listed 'Best First'.
Re^4: Strawberry and IIS not playing well
by srobinson (Initiate) on Nov 29, 2012 at 22:15 UTC
    Thank you I had seen these but went ahead and followed them. Note these are for active perl and not strawberry so I may adj for that, but nothing else. I am now getting the following when trying to run script from browser. CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers.
      In your code, do you have a reason to set
      (-type=>'image/html')
      I expect that after that, CGI expects to see some kind of Image data, although I cannot imaging what.

      The "normal" thing is to set the type to text/html, or let it default to that.

                   "By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest."           -Confucius

Re^4: Strawberry and IIS not playing well
by srobinson (Initiate) on Nov 30, 2012 at 22:39 UTC
    I made the change to 'text/html' and have the same error.
      See this helpful MS KB article.

      Run your program from a command-line, and make sure the first few lines are identical to the ones generated by the MS sample.

      Is is also possible that your program does not compile, or run properly in the deployed CGI environment.

      Look for errors in the IIS logs.

      There is also a potential IIS6 bug.

      FYI - All this info was obtained by googling the error message. (Encouraging self-help).

                   "By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest."           -Confucius

        BTW I have been all over the web but since I am new at this I wanted some expert help. I have made the script simple #!c:\strawberry\perl\bin\perl.exe print "HTTP/1.0 200 OK\n"; print "Content-Type: text/html\n\n\n"; print "Hello World. \n"; Here is what I get from the command prompt HTTP/1.0 200 OK Content-Type: text/html Hello World. Same error from above. I am the only one using this IIS so I doubt its the MS error you have found. Thank you so much for helping me.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-25 14:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found