[Mono-bugs] [Bug 73354][Nor] Changed - AddMonoApplication only works with "default"
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sat, 5 Mar 2005 17:47:13 -0500 (EST)
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 gonzalo@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=73354
--- shadow/73354 2005-03-04 13:58:24.000000000 -0500
+++ shadow/73354.tmp.28938 2005-03-05 17:47:13.000000000 -0500
@@ -1,13 +1,13 @@
Bug#: 73354
Product: Mono: Tools
Version: 1.1
OS: unknown
OS Details:
-Status: NEW
-Resolution:
+Status: RESOLVED
+Resolution: NOTABUG
Severity: Unknown
Priority: Normal
Component: mod_mono
AssignedTo: gonzalo@ximian.com
ReportedBy: rlyon@novell.com
QAContact: mono-bugs@ximian.com
@@ -30,6 +30,44 @@
<Location /demo1>
SetHandler mono
</Location>
In the Apache log the second configuration is causing idx to be -1 (or a
failed lookup on the servers in the module configuration).
+
+------- Additional Comments From gonzalo@ximian.com 2005-03-05 17:47 -------
+Rob, you have to use the new MonoSetServerAlias inside that Location.
+
+This is fine, no MonoSetServerAlias needed:
+------
+Alias /demo1 "/opt/demo1"
+AddMonoApplication default "/demo1:/opt/demo1"
+<Location /demo1>
+ SetHandler mono
+</Location>
+-------
+
+and the above is equivalent to:
+-------
+Alias /demo1 "/opt/demo1"
+AddMonoApplication default "/demo1:/opt/demo1"
+<Location /demo1>
+ MonoSetServerAlias default
+ SetHandler mono
+</Location>
+-------
+
+So for your second configuration the correct would be:
+-------
+Alias /demo1 "/opt/demo1"
+AddMonoApplication demo1 "/demo1:/opt/demo1"
+<Location /demo1>
+ MonoSetServerAlias demo1
+ SetHandler mono
+</Location>
+--------
+
+
+I wrote quite a few examples in monodoc using these new directives.
+I'm going to upload the HTML page i wrote and put the url in my blog
+so that those instructions are not 'hidden' in monodoc.
+