Basic Mono installation wont work

后端 未结 1 1836
孤独总比滥情好
孤独总比滥情好 2021-01-19 22:44

Am using a CentOS 5.3 box as prod server and am trying to get mono running there. after much sifting i managed to install version 2.10.2 via yum. i installed also xsp and mo

1条回答
  •  说谎
    说谎 (楼主)
    2021-01-19 23:22

    You mix "MonoAutoApplication" and "MonoApplications" in the same file. I don't think it works. The AutoConfiguration feature allows precisely to avoid having to declare the application.

    Here is my own mod_mono.conf (used on Mac OS X 10.7.2 and Linux Ubuntu 11.04) :

    
        LoadModule mono_module "libexec/apache2/mod_mono.so"
    
    
    
        AddType application/x-asp-net .config .cs .csproj .dll .resources .resx .sln .vb .vbproj
        AddType application/x-asp-net .asax .ascx .ashx .asmx .aspx .axd .browser .licx .master .rem .sitemap .skin .soap .webinfo
    
        MonoAutoApplication enabled
        MonoDebug true
        MonoServerPath "/usr/bin/mod-mono-server4"
        MonoSetEnv LANG=fr_FR.UTF-8
        MonoUnixSocket "/tmp/.mod_mono"
    
        
            DirectoryIndex Default.aspx
        
    
        
            Order deny,allow
            Deny from all
        
    
        
            Order deny,allow
            Deny from all
            Allow from 127.0.0.1 ::1
            SetHandler mono-ctrl
        
    
    

    As you can see, I never define any Alias or MonoApplications directive.

    0 讨论(0)
提交回复
热议问题