Yap Path is correct. It the test i'm doing works even with that error. But without that directive in the vhost conf, apache doesn't throw any error. With the code below, and this directive, the browser still's show me this:
--- Compilation of Visual Basic code is not supported for v1.0/v1.1 assemblies, please use the v2.0 assemblies. - If this is a web application, use xsp2/mod_mono_server2 instead of xsp/mono_mono_server (see http://www.mono-project.com/Mod_mono#ASP.NET_2_apps_do_not_work). - If this is a desktop application, use gmcs to compile your application instead of mcs. --- Test code: --- <%@ Page Language="vb" %> <script runat="server"> Sub choose_image(Sender As Object, e As EventArgs) image1.Src = select1.Value End Sub </script> <html> <body> <form runat="server"> <select id="select1" runat="server"> <option value="smiley.gif">Smiley</option> <option value="angry.gif">Angry</option> <option value="http://spe.atdmt.com/b/NMMRTYRBMPRO/FY07_FF_SCE_JointLaunch_120x240_d ownload_now_0503.gif">Stickman</option> </select> <input type="submit" runat="server" value="Display image" OnServerClick="choose_image"> <br /><br /> <img id="image1" src="smiley.gif" runat="server" width="32" height="32" /> </form> </body> </html> --- -----Original Message----- From: Joshua Tauberer [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 14 de Setembro de 2007 12:44 To: Jorge Bastos Cc: [email protected] Subject: Re: [Mono-list] Using xsp2 with mono Jorge Bastos wrote: > Guys, to configure a virtualhost to use mod-mono-server2, it's enougth: > > "MonoServerPath /usr/local/bin/mod-mono-server2" ? > > When i add this and restart apache i get: > > Restarting web server: apache2[Thu Sep 13 23:31:48 2007] [crit] (17)File > exists: Failed to create shared memory segment for backend 'XXGLOBAL' > [Thu Sep 13 23:31:58 2007] [crit] (17)File exists: Failed to create > shared memory segment for backend 'XXGLOBAL' The error message is (should be) unrelated to the MonoServerPath directive. (And provided the path is correct and you placed it in the VirtualHost block, that directive should be enough, yes.) -- - Josh Tauberer http://razor.occams.info "Yields falsehood when preceded by its quotation! Yields falsehood when preceded by its quotation!" Achilles to Tortoise (in "Gödel, Escher, Bach" by Douglas Hofstadter) _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
