Ok here's an odd one, CGI server mode under IIS on a win2K dev box. IE works just fine, but Firefox 2.0.0.11 tries to download search.cgi as a file when searching.... thus breaking the page and no search form is generated.
I'm calling search.cgi from an asp page (listing below) which is called by an iframe in another page... (same behavior is seen when calling it directly.)
Any ideas on how to fix this? I'm sure its probably something simple....
I'm calling search.cgi from an asp page (listing below) which is called by an iframe in another page... (same behavior is seen when calling it directly.)
Code:
<%@ Language=VBScript %> <HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0"> </HEAD> <BODY> <% Dim WshShell, env<br> Set WshShell = CreateObject("WScript.Shell")<br> Set env = WshShell.Environment("Process")<br> env.Item("REQUEST_METHOD") = "GET"<br> env.Item("QUERY_STRING") = Request.QueryString<br> set oExec = WshShell.Exec(Server.MapPath("search.cgi"))<br> oExec.StdOut.ReadLine() ' skip the HTTP header line<br> Response.Write(oExec.StdOut.ReadAll()) %> </BODY> </HTML>
Comment