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

Re^3: Strawberry and IIS not playing well

by NetWallah (Abbot)
on Nov 28, 2012 at 04:13 UTC ( #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
Node Status?
node history
Node Type: note [id://1005955]
help
Chatterbox?
[stevieb]: it is exceptionally difficult I'm finding to debug a dist that is x-platform, where on each platform you're wrapping a different binary. Trying to co-ordinate a successful test run where tests are extensive is a nightmare, especially when the dist...
[stevieb]: ...you're testing is a test system itself. 10+ documented issues fixed, another half dozen found while fixing the original ones. I'm getting there...
[stevieb]: Then throw in changes to Windows that throws everything you trusted right out the window.
[shmem]: that's why it is called "Windows"

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2017-03-28 21:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (342 votes). Check out past polls.