[Mono-devel-list] ASP.NET Virtual Hosts

MET met at uberstats.com
Wed Jun 16 09:48:40 EDT 2004


I've got ASP.NET running just fine with a simple alias as explained in
the INSTALL, but virtual hosts are escaping me.  Here's what my
httpd.conf file for Apache2 looks like.

[snip]
Alias /demo "/usr/local/share/doc/xsp/test"
MonoApplications "/demo:/usr/local/share/doc/xsp/test"
MonoApplicationsConfigDir "/usr/local/apache2/conf"

<Directory /usr/local/share/doc/xsp/test>
    SetHandler mono
</Directory>
[/snip]

When I go to my domain (intranet accessible only for testing ;-) I can
get the demo alias with no problem.  But the virtual host in my
dev-3.webapp found in my MonoApplicationsConfigDir does not seem to be
doing me any good.  Here's what that file looks like.

<web-application>
        <name>Devel 3</name>
        <vpath>/</vpath>
        <path>/home/html/devel3</path>
        <vhost>dev-3.lsb.syr.edu</vhost>
        <vport>80</vport>
</web-application>

As Apache2 starts up mod-mono-server.exe I have no idea if its spitting
out errors at me.  But at the very least, when I go to
dev-3.lsb.syr.edu/mono (a duplicate of the xsp/test directory) I get the
.aspx pages returned to me as text (no interpreting).

Any ideas?

~ Matthew




More information about the Mono-devel-list mailing list