[Mono-bugs] [Bug 76911][Maj] New - SetHandler not working in 1.1.10?

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Dec 4 13:13:02 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 eric at grokthis.net.

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

--- shadow/76911	2005-12-04 13:13:02.000000000 -0500
+++ shadow/76911.tmp.10035	2005-12-04 13:13:02.000000000 -0500
@@ -0,0 +1,168 @@
+Bug#: 76911
+Product: Mono: Tools
+Version: 1.0
+OS: 
+OS Details: Debian sid
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: mod_mono
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: eric at grokthis.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: SetHandler not working in 1.1.10?
+
+In Apache 2.0, with mod_mono 1.1.10, "SetHandler mono" is not producing
+expected behavior.
+
+mod_mono appears to be passing the contents of the file,
+http://www.mydomain.com/virtualfile, to the brower, when with 1.0.8 of
+mod_mono, this worked as expected.
+
+Attached is a snippet of my configuration, showing two virtualhosts which
+I've attempted this with.
+
+--------------------------------------------------------------
+
+Actual Results:
+
+* Source of page sent to visitor.
+
+Expected Results:
+
+* Page should be parsed and executed on the server, and rendered in browser.
+
+How often does this happen? 
+
+* I've tested and verified this behavior on two sites running the
+MojoPortal software.
+
+
+--------------------------------------------------------
+
+LoadModule mono_module /usr/local/apache2/modules/mod_mono.so
+
+
+
+MonoUnixSocket /home/advanced/myuser/tmp/mod_mono.sock
+
+MonoWapidir default "/home/advanced/myuser/tmp/"
+
+
+
+    AddType application/x-asp-net .aspx
+
+    AddType application/x-asp-net .asmx
+
+    AddType application/x-asp-net .ashx
+
+    AddType application/x-asp-net .asax
+
+    AddType application/x-asp-net .ascx
+
+    AddType application/x-asp-net .soap
+
+    AddType application/x-asp-net .rem
+
+    AddType application/x-asp-net .axd
+
+    AddType application/x-asp-net .cs
+
+    AddType application/x-asp-net .config
+
+    AddType application/x-asp-net .dll
+
+    DirectoryIndex index.aspx
+
+    DirectoryIndex Default.aspx
+
+    DirectoryIndex default.aspx
+
+
+
+# later ....
+
+
+
+<VirtualHost *:8046>
+
+        ServerAdmin webmaster at grokthis.net
+
+        DocumentRoot /home/advanced/myuser/public_html/mydomain.com
+
+        ServerName mydomain.com
+
+        ServerAlias www.mydomain.com
+
+        CustomLog logs/mydomain.com-access.log combined
+
+
+
+        MonoApplications mydomain
+"/:/home/advanced/myuser/public_html/mydomain.com"
+
+        MonoWapidir mydomain "/home/advanced/myuser/tmp/mydomain"
+
+        MonoUnixSocket /home/advanced/myuser/tmp/mod_mono.sock
+
+
+
+        <Location />
+
+        MonoSetServerAlias mydomain
+
+        </Location>
+
+
+
+        SetHandler mono
+
+</VirtualHost>
+
+
+
+
+
+
+
+<VirtualHost *:8046>
+
+        ServerAdmin webmaster at grokthis.net
+
+        DocumentRoot /home/advanced/myuser/public_html/pgsites
+
+        ServerName domain2.org
+
+        ServerAlias www.domain2.org
+
+
+
+        CustomLog logs/domain2.org-access.log combined
+
+
+
+        MonoApplications domain2 "/:/home/advanced/myuser/public_html/pgsites"
+
+        MonoWapidir domain2 "/home/advanced/myuser/tmp/domain2"
+
+        MonoUnixSocket /home/advanced/myuser/tmp/mod_mono.sock
+
+
+
+        <Location />
+
+        MonoSetServerAlias domain2
+
+        </Location>
+
+</VirtualHost>
+
+<Directory /home/advanced/myuser/public_html/pgsites/>
+
+   SetHandler mono
+
+</Directory>


More information about the mono-bugs mailing list