[Mono-bugs] [Bug 74664][Nor] New - Request.ServerVariables don't read some variables

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 19 Apr 2005 19:34:11 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by kascote@gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=74664

--- shadow/74664	2005-04-19 19:34:11.000000000 -0400
+++ shadow/74664.tmp.1668	2005-04-19 19:34:11.000000000 -0400
@@ -0,0 +1,94 @@
+Bug#: 74664
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: Linux 2.6.10-5-386 - Ubuntu 5.04
+Status: NEW   
+Resolution: 
+Severity: 040 One week
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: kascote@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Request.ServerVariables don't read some variables
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+System.Web.Request.ServerVariables collection don't bring some server
+variables over Apache Server (2.0.53)
+
+Steps to reproduce the problem:
+1. Execute this script:
+---8<----------------------------------------------------
+<%@ Page Language="C#" %>
+<html><body>
+<form runat="server">
+	<p>Server Software: [<%= Request.ServerVariables.Get("SERVER_SOFTWARE")
+%>]</p>
+	<p>CGI Gateway: [<%= Request.ServerVariables.Get("GATEWAY_INTERFACE") %>]</p>
+</form>
+</body></html>
+---8<----------------------------------------------------
+2. Execute it
+3. Show blank results lines
+
+Actual Results:
+Server Software: []
+CGI Gateway: []
+
+Expected Results:
+Server Software: [Apache/2.0.53 (Ubuntu) mod_mono/1.0.8]
+CGI Gateway: [CGI/1.1]
+
+How often does this happen? 
+Every time the script is executed.
+
+In Windows with IIS 5.1 and .NET 1.1 show:
+Server Software: [Microsoft-IIS/5.1]
+CGI Gateway: [CGI/1.1]
+
+Additional Information:
+
+This is the Apache configuracion for the location where the script is
+executing over a SSL link:
+
+Alias /test "/opt/devel/csharp/test"
+MonoApplications "/test:/opt/devel/csharp/test"
+<Location /test>
+    SetHandler mono
+    SSLRequireSSL
+    SSLVerifyClient require
+    SSLVerifyDepth 1
+    SSLOptions +StdEnvVars +CompatEnvVars +ExportCertData
+</Location>
+
+Over HTTP the variables aren't populated either.
+This is the config for http:
+
+Alias /test "/opt/devel/csharp/test"
+MonoApplications "/boga:/opt/devel/csharp/test"
+<Location /test>
+   SetHandler mono
+   #Options +ExecCGI
+</Location>
+
+
+Test sistem:
+Linux: Ubuntu 5.04 - Kernel 2.6.10-5-386
+Mono JIT compiler version 1.1.6
+        TLS:           __thread
+        GC:            Included Boehm (with typed GC)
+        SIGSEGV      : normal
+        Globalization: normal
+mod_mono - 1.0.8
+xsp - 1.0.8
+Apache: 2.0.53
+SSL: mod_ssl/2.0.53 OpenSSL/0.9.7e
+
+mono, mod_mono and xsp are compiled with default parameters.