[Mono-list] mod_mono 1.0.6 multiple virtualhosts...
lala lalala
hugobendelin@hotmail.com
Wed, 23 Feb 2005 16:33:16 +0100
I have 2 questions:
FIRST:
I have just installed
mono 1.0.6
mod_mono 1.0.6
xsp 1.0.6
before i hand 1.0.4 of all of it
and i have Apache/2.0.52 installed to run mod_mono through with
mod-mono-server
the thing is that i had a couple of virtual hosts that worked fine with a
little workaround in
httpd.conf for each virtual host. namely:
MonoUnixSocket "/tmp/VirtualHosts/$appliacion/mono_socket/monosock"
MonoWapiDir "/tmp/VirtualHosts/$application/wapi"
MonoApplicationsConfigDir "/usr/local/bin/mod-mono-server-webapps/"
and of course
<Directory /usr/local/apache2/htdocs/$application>
SetHandler mono
</Directory>
where $application i different for each virtual host
and i use that also now.
with my webappfile in MonoApplicationsConfigDir:
before:
<apps>
<web-application>
<name>$application</name>
<vpath>/</vpath>
<path>/usr/local/apache2/htdocs/$application</path>
<vhost>a.host.name.com</vhost>
</web-application>
...
</apps>
and now:
<apps>
<web-application>
<name>$application</name>
<vhost>a.host.name.com</vhost>
<vport>33300</vport>
<vpath>/</vpath>
<path>/usr/local/apache2/htdocs/$application</path>
<!-- Default value for <enabled> is true -->
<enabled>true</enabled>
</web-application>
...
</apps>
and global config in httpd.config:
Before:
LoadModule mono_module modules/mod_mono.so
MonoRunXSP True
MonoExecutablePath /usr/local/bin/mono
MonoServerPath /usr/local/bin/mod-mono-server
#MonoServerPath /usr/local/lib/mono/1.0/mod-mono-server.exe
Now:
LoadModule mono_module modules/mod_mono.so
MonoRunXSP True
MonoDebug True
Anyone had any experience with multiple virtual hosts with 1.0.6 mod_mono,
xsp and mono
and have any suggestions?
SECOND:
What is the difference between
Mono runtime and MCS (Mono C# compiler and classes)
at www.go-mono.com?
_________________________________________________________________
Hitta rätt på nätet med MSN Sök http://search.msn.se/