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.

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?

If so any tips or links on how to do it would be much appreciated.

My current Virtual Host configuration that works with 1.1 aka xsp/mod_mono is like this:

LoadModule mono_module /usr/lib/apache2/mod_mono.so
MonoApplicationsConfigDir "/webshare/webapp"

<VirtualHost *:80>
    ServerAdmin test@test.com
    ServerName demo2.mojoportal.com

    DocumentRoot "/webshare/demo2"

    ErrorLog /var/log/apache2/demomojoportal.com-error_log
    CustomLog /var/log/apache2/demomojoportal.com-access_log combined

    HostnameLookups Off
    UseCanonicalName On

    <Directory "/webshare/demo2">
 
        SetHandler mono
   
        <FilesMatch "\.(gif|jp?g|png|css|ico|xsl|wmv)$">
            SetHandler None
        </FilesMatch>

    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
   
    </Directory>
   
</VirtualHost>

What can I change to enable 2.0?

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 framework.

Anyone else done any testing of building a web app in VS 2005 and able to get it running on mod_mono/apache2?

Thanks,

Joe


joe_audette [at] yahoo dotcom
http://www.joeaudette.com
http://www.mojoportal.com
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to