locked
Configuring IIS STDERR log RRS feed

  • Question

  •  I cannot get IIS 6 to send STDERR to the IIS Log.  The following PERL code works fine with Apache, fails in IIS.  This seems to be new behavior with IIS 6.  Any ideas?

        print "Content-type:text/html\n\n";
        print "<html><head><title>IIS - Apache Test</title></head>\n";
        print "<body>\n";
        print "<h2>IIS - APACHE STDERR TEST</h2>\n";
        print "This Works with apache, Fails with IIS 6.\n<br>";
        print "This is :",$ENV{'REMOTE_ADDR'},"\n<br>";
        printf (STDERR "%s","WITH IIS 6,THIS STATEMENT WILL FAIL IF DIRECTED TO STDERR\n");

    Wednesday, June 23, 2010 4:29 PM

Answers

  • the user isn't a Microsoft Partner.... Try forums.iis.net instead.

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP
    Friday, September 3, 2010 11:47 PM

All replies