Meshuggener

Members
  • Content count

    1
  • Joined

  • Last visited

  1. SELF RESOLVED - Ensure cgi.force_redirect = 0 has been turned on. Hi there, I'm encountering the HTTP Error 502.2 - Bad Gateway when I go to http://winids/test.phpon any web browser with the following text: The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "<b>Security Alert!</b> The PHP CGI cannot be accessed directly. <p>This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.</p> <p>For more information as to <i>why</i> this behaviour exists, see the <a href="http://php.net/security.cgi-bin">manualpage for CGI security</a>.</p> <p>For more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit <a href="http://php.net/install.windows">the manual page</a>.</p> ". Until this point in the setup all tests have passed successfully. I have verified that IIS has retained it's settings and even removed them, restarted the 2012 R2 VM and entered them again with the same result. Other URLs like http://winids and http://winids/base_main.php also have the same error. I have gone through the "Security Console has a blank page..." thread as well. I have attached: snort.conf barnyard2.conf The attach function wouldn't let me attach : php.ini base.conf.php.dist Cheers! barnyard2.conf snort.conf