[Mono-dev] Can I use mod_mono with xsp2
joe_audette at yahoo.com
Sat Nov 19 22:10:55 EST 2005
doh! nevermind I found them. On my machine its
Joe Audette <joe_audette at yahoo.com> wrote: I compiled mono from svn with the --prefix=/usr and when I look in my /usr/lib/mono/2.0 folder I don't see mod-mono-server2.exe
Where in svn can I find what I need to build this? I've been browsing around the web interface at http://svn.myrealbox.com/viewcvs/trunk/ but can't find it.
Elliott Draper <el at eldiablo.co.uk> wrote: Joe Audette wrote:
> Is it possible to use the new 2.0 ASP.NET features that are currently
> implemented in mono with mod_mono on apache2? Or can it only be done
> using xsp2 from the command line?
> What do I have to configure differently to make this happen?
> I'm using Virtual Hosts in apache.
Check this out: http://www.mono-project.com/Mod_mono#Paths
You'll see that you can use "MonoServerPath" to specify the actual
ModMono executable used, and instead of using the default one, you can
use "$MONO/lib/mono/2.0/mod-mono-server2.exe" to target the 2.0 profile
(where $MONO is the path to your Mono installation).
> Can I make a new Virtual Host that is configured for ASP.NET 2.0 or
> xsp2/mod_mono while leaving the other Virtual Hosts running under the
> regular 1.1 implementation of xsp/mod_mono?
Not sure on this, but I would think you can specify different
"MonoServerPath" settings for different vhosts.
> If so any tips or links on how to do it would be much appreciated.
> I have a copy of mojoportal compiled in VS 2005 and I am trying to get
> setup so I can test it on my mono machine. It doesn't use any of the
> ASP.NET 2.0 features but it was compiled on Windows against the 2.0
> Anyone else done any tes ting of building a web app in VS 2005 and able
> to get it running on mod_mono/apache2?
I write all of my apps at the minute using VS2005, and am finding it
easy to port most apps to using the Mono 2.0 profile, so that I can take
advantage of 2.0 features. I had a tough time using web apps created
under VS2005 using Mono a while back though, so took to (where possible)
back porting them to 1.1, removing partial classes, and obviously this
was only possible for projects not using or referencing 2.0 features
like generics etc. This did however get my web apps built using VS2005
running on mod_mono!
I haven't retried straight porting a 2.0 app created with VS2005 in a
while tho, when I get more time I hope to give it another bash; I'm sure
with a lot of the recent updates to the codebase I should have more luck
:-) Let me know how you get on!
Hope that helps!
-= El =-
> joe_audette [at] yahoo dotcom
>Mono-devel-list mailing list
>Mono-devel-list at lists.ximian.com
joe_audette [at] yahoo dotcom
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
joe_audette [at] yahoo dotcom
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list