Jorge Bastos wrote:
> I tried to configure 2 virtualhost's, and I have two process's, so I guess
> I'll have one per each virtualhost configured for 2.0 profile? That the way
> it is?

That's what happens based on what I suggested.

It's conceivable it's possible to avoid that, but I've never tried. You 
may be able to place the directives currently inside the vhosts outside 
of the vhost blocks: Define a single alternative mod-mono-server alias 
for the 2.0 vhosts (as described on the wiki), specify MonoServerPath 
for that alias, and explicitly list the applications for that alias 
(i.e. multiple applications on different domains but for the same alias) 
--- all specified outside of vhost blocks.

> Another thing is, mod_mono still's giving error when
> restarting/stop/starting apache:
> 
> [Fri Sep 14 23:20:35 2007] [warn] (22)Invalid argument: Failed to destroy
> the '/tmp/mod_mono_dashboard_XXGLOBAL_1' shared memory dashboard
> [Fri Sep 14 23:20:35 2007] [warn] (22)Invalid argument: Failed to destroy
> the '/tmp/mod_mono_dashboard_vhost1' shared memory dashboard
> [Fri Sep 14 23:20:35 2007] [warn] (22)Invalid argument: Failed to destroy
> the '/tmp/mod_mono_dashboard_vhost2' shared memory dashboard

That happens. Doesn't seem to be a problem. Not sure why it happens.

-- 
- 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)


 > -----Original Message-----
 > From: Joshua Tauberer [mailto:[EMAIL PROTECTED]
 > Sent: sexta-feira, 14 de Setembro de 2007 23:09
 > To: Jorge Bastos
 > Cc: [email protected]
 > Subject: Re: [Mono-list] Using xsp2 with mono
 >
 > The problem is probably that when using autohosting, directives in
 > VirtualHosts are (iirc) pretty much ignored. Obviously, you can't have
 > just one VirtualHost use ASP.NET 2.0 if more than one are all running
 > through one mod-mono-server process, which is (iirc) how autohosting
 > normally works.
 >
 > If you put the MonoServerPath directive outside of vhosts (exactly the
 > opposite of part of my first suggestion!), I'd expect it to work (and
 > apply to all vhosts).
 >
 > If you can't have it apply to all vhosts, for those vhosts that you want
 > 2.0, inside the vhost config, you will have to turn off autohosting and
 > configure the application explicitly. At least, that's what I do for
 > each of my vhosts anyway. See the wiki page
 > (http://www.mono-project.com/Mod_mono) for more on that.
 >

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to