[Mono-list] Mono does not handle NumberService.asmx file

Andrus kobruleht2 at hot.ee
Wed Dec 24 14:27:36 EST 2008


Robert,

> Well, you've removed *all* SetHandlers ;-)
>
> # insert this:
> #
> SetHandler Mono
> </VirtualHost>

Thank you.
I'm sorry. When I pasted mono conf to this message, I edited conf to remove 
comment lines.
During this editing I removed mistakenly this statement also.
I verified that in real conf where the issue occurs this line is present.
Below is copy paste of the file without any editing.

If I ran mono server manually and do some work, mono starts handling files 
until next system reset occurs.

Andrus.


# mod_mono.conf

<IfModule !mod_mono.c>
    LoadModule mono_module modules/mod_mono.so

# http://msdn.microsoft.com/en-us/library/cc838145(VS.95).aspx
# In order to support Silverlight-based applications, your Web server must 
be configured to associate the .xap file name extension with the
# MIME type "application/x-silverlight-app". For IIS 7.0, this value is 
pre-configured.

    AddType application/x-silverlight-app .xap
    AddType application/x-asp-net .aspx
    AddType application/x-asp-net .asmx
    AddType application/x-asp-net .ashx
    AddType application/x-asp-net .asax
    AddType application/x-asp-net .ascx
    AddType application/x-asp-net .soap
    AddType application/x-asp-net .rem
    AddType application/x-asp-net .axd
    AddType application/x-asp-net .cs
    AddType application/x-asp-net .vb
    AddType application/x-asp-net .master
    AddType application/x-asp-net .sitemap
    AddType application/x-asp-net .resources
    AddType application/x-asp-net .skin
    AddType application/x-asp-net .browser
    AddType application/x-asp-net .webinfo
    AddType application/x-asp-net .resx
    AddType application/x-asp-net .licx
    AddType application/x-asp-net .csproj
    AddType application/x-asp-net .vbproj
    AddType application/x-asp-net .config
    AddType application/x-asp-net .Config
    AddType application/x-asp-net .dll
    DirectoryIndex index.aspx
    DirectoryIndex Default.aspx
    DirectoryIndex default.aspx
</IfModule>

# 23.12.8 Robert Jordan in mono mailing list orders to remove those lines:
#SetHandler mono
#AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx

<IfModule mod_dir.c>
 DirectoryIndex index.aspx default.aspx
</IfModule>

# kopeeritud: http://anmar.eu.org/mono/mod_mono/
#<VirtualHost *:80>
#ServerName localhost
#DocumentRoot "C:\Mono\lib\xsp\test"
#MonoDocumentRootDir "C:/Mono/lib/xsp/test"
#MonoApplications "/:./"
#setHandler mono
#</VirtualHost>

<VirtualHost *:80>
# kui see on vaid peakasutas, siis mingil juhul ei tunne ära
# kui seda pole, siis apache ise töötleb asmx faile:
SetHandler mono
# 23.12.8 Robert Jordan in mono mailing list orders to remove this line:
# AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx

ServerName localhost
DocumentRoot "I:\raamat\EevaWeb\SilverlightApplication4_Web"
MonoDocumentRootDir "I:/raamat/EevaWeb/SilverlightApplication4_Web"
MonoApplications "/:./"
#MonoServerPath default "c:/mono/lib/mono/2.0/mod-mono-server2.exe"
MonoDebug true
</VirtualHost>

<Location /mono>
  SetHandler mono-ctrl
  Order deny,allow
  Deny from all
  Allow from 127.0.0.1
</Location> 



More information about the Mono-list mailing list