[Mono-list] mod-mono - not found.

Chris Aitken chris at ion-dreams.com
Thu Jul 21 05:54:06 EDT 2005


> I have messed up my configuration and not sure where to go, 
> hope somebody  may help.
> 
> Trying to start mono in Apache2.
> 
> Apache error log shows:
> 
> cannot open assembly /usr/local/lib/mono/1.0/mod-mono-server.exe
> 
> This is correct, my prefix in mono, xsp and mod-mono is 
> '/usr' so my file is:
> 
> /usr/lib/mono/1.0/mod-mono-server.exe
> 
> I cannot see where I tell Apache2 to locate the correct file.

I am running Debian Sarge.

/etc/apache2/sites-enabled/mono, which is a symlink to:
/etc/apache2/sites-available/mono, which contains:

Snip

        MonoRunXSP True
        MonoPath "/opt/mono/share"
        MonoApplications "/:/home/mono/public_html"
        MonoExecutablePath "/opt/mono/bin/mono"
        MonoServerPath "/opt/mono/lib/mono/1.0/mod-mono-server.exe"
        AddHandler mono aspx ashx asmx ascx asax config ascx
        MonoWapiDir "/tmp/mono/hostmono"
        MonoUnixSocket "/tmp/mono/hostmono/mod_mono_socket"
Snip

HTH

Chris



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Mono-list mailing list