[Mono-list] mod-mono Virtual hosting

Albert Ritmeester aritmeester at gmail.com
Wed Nov 7 04:31:17 EST 2007

Hi all,

I'm setting up mono virtual hosting on a openSuSE 10.2 machine and I'm
getting some troubles.

I have added http://www.go-mono.com/download-stable/suse-102-x86_64/
to my YaST configuration to install apache2-mod_mono version 1.2.5.

This is the apache virtualhost config file I'm using;
<VirtualHost *:80>
    ServerAdmin support at svzapp2
    ServerName d4h.svzapp2
    DocumentRoot /var/d4h.svzapp2/wwwroot
    Alias /style /var/d4h.svzapp2/wwwroot/portal/style
    Alias portal/portal/style /var/d4h.svzapp2/wwwroot/portal/style
    ErrorLog /var/log/apache2/d4h.svzapp2-error_log
    CustomLog /var/log/apache2/d4h.svzapp2-access_log combined
    HostnameLookups Off
    UseCanonicalName On
    ServerSignature Off
#    MonoAutoApplication disabled
#    MonoApplications d4h "/:/var/d4h.svzapp2/wwwroot"
#    MonoServerPath /usr/bin/mod-mono-server2
    <Location />
#        MonoSetServerAlias d4h
#        SetHandler mono
        Options -Indexes FollowSymLinks
        Order allow,deny
        Allow from all

With this configuration (with the commented lines) I can start apache2
without troubles. But when I uncomment one of the Mono* lines I get
the following error message on apache restart;
[Wed Nov 07 10:29:12 2007] [crit] Failed to remove dashboard file
'/tmp/mod_mono_dashboard_XXGLOBAL_1', further actions impossible.
Operation not permitted

Please can someone help me setting up mod_mono 1.2.5 with virtual hosting?

Albert Ritmeester

More information about the Mono-list mailing list