[Mono-bugs] [Bug 76604][Nor] New - under apache2+mod_mono an index.aspx get tacked onto the end of the HttpRequest.PathInfo if it ends in a slash'/'

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Oct 31 17:05:35 EST 2005


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 irgendetwas at charlie.at.

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

--- shadow/76604	2005-10-31 17:05:35.000000000 -0500
+++ shadow/76604.tmp.25915	2005-10-31 17:05:35.000000000 -0500
@@ -0,0 +1,91 @@
+Bug#: 76604
+Product: Mono: Tools
+Version: 1.1
+OS: other
+OS Details: SUSE 9.3
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: mod_mono
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: irgendetwas at charlie.at               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: under apache2+mod_mono an index.aspx get tacked onto the end of the HttpRequest.PathInfo if it ends in a slash'/'
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+when running under mono(1.1.9.3) index.aspx is tacked on to the end
+of the PathInfo if the last character is '/': 
+ie for the request:
+http://myserver/image/image.aspx/200309OeSTM/
+
+apache sees:
+apache log: "GET /image/image.aspx/200309OeSTM/ HTTP/1.1" 
+
+Request.PathInfo:
+mod_mono: /200309OeSTM/index.aspx
+iis5: /200309OeSTM/
+
+Steps to reproduce the problem:
+1. enter a url with PathInfo that ends in a slash 
+2. 
+3. 
+
+Actual Results:
+/200309OeSTM/index.aspx
+
+
+Expected Results:
+/200309OeSTM/
+
+
+
+How often does this happen? 
+every time
+
+Additional Information:
+No index.aspx in the DirectoryIndex and no index.aspx within reach of the
+application.
+
+grep -R DirectoryIndex /etc/apache2/*
+httpd.conf:DirectoryIndex index.html index.html.var
+vhosts.d/myserver.conf:       DirectoryIndex
+
+myserver.conf:
+<VirtualHost ipaddr:80>
+    ServerName myserver
+    DocumentRoot /srv/myserver
+    AddMonoApplications image "/image:/srv/myserver/image"
+    MonoMaxMemory image  20000000
+    MonoMaxCPUTime image 3600
+    <Directory "/srv/myserver">
+        Options -Includes +Includes
+        AllowOverride All
+        Order allow,deny
+        Allow from all
+    </Directory>
+    <Directory "/srv/myserver/image">
+       MonoSetServerAlias image
+       Options ExecCGI
+       DirectoryIndex
+       AddHandler mono .aspx .ascx .asax .ashx .cs .config .asmx
+    </Directory>
+</VirtualHost>
+
+
+ls -R /srv/myserver/image
+image:
+.  ..  bin  image.aspx  Web.config
+
+image/bin:
+.  ..  image.dll
+
+.htaccess
+Redirect /index.html http://myserver/image/image.aspx
+Options -Indexes


More information about the mono-bugs mailing list