[Mono-list] Mono does not handle NumberService.asmx file
Andrus
kobruleht2 at hot.ee
Tue Dec 23 13:38:58 EST 2008
Robert,
> SetHandler mono
Thank you very much. I changed mod_mono.conf to
<IfModule !mod_mono.c>
LoadModule mono_module modules/mod_mono.so
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>
SetHandler mono
AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx
<IfModule mod_dir.c>
DirectoryIndex index.aspx default.aspx
</IfModule>
<VirtualHost *:80>
SetHandler mono
AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx
ServerName localhost
DocumentRoot "I:\raamat\MyAppWeb\SilverlightApplication4_Web"
MonoDocumentRootDir "I:/raamat/MyAppWeb/SilverlightApplication4_Web"
MonoApplications "/:./"
MonoDebug true
</VirtualHost>
<Location /mono>
SetHandler mono-ctrl
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
I killed mono process, re-started apache, cleared browser cache.
mono still does not handle requests like http://localhost/Default.aspx or
http://localhost/Hetkesei.asmx
For failed request log contains:
[Tue Dec 23 20:12:38 2008] [debug] mod_mono.c(1735): running
'c:\\mono/bin/mod-mono-server.bat --address 127.0.0.1 --port
2000 --nonstop --master (null) (null) (null) (null) (null) (null)'
Sometimes mono handles requests. In this case log contains:
[Tue Dec 23 20:16:06 2008] [debug] mod_mono.c(1735): running
'c:\\mono/bin/mod-mono-server.bat --address 127.0.0.1 --port
2000 --applications /:./ --nonstop --root
I:/raamat/MyAppWeb/SilverlightApplication4_Web --master (null) (null)'
How to force mono to handle requests always?
Andrus.
error.log for failed request:
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
actions_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module alias_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module asis_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
auth_basic_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authn_default_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authn_file_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authz_default_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authz_groupfile_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authz_host_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authz_user_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
autoindex_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module cgi_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module dir_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module env_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
include_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module isapi_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
log_config_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module mime_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
negotiation_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
setenvif_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module mono_module
[Tue Dec 23 20:12:37 2008] [warn] creating mono server config
[Tue Dec 23 20:12:37 2008] [warn] Registry key found. SdkInstallRoot:
'c:\\mono'
[Tue Dec 23 20:12:37 2008] [warn] creating dashboard mutex =
C:\\Windows\\TEMP/mod_mono_dashboard_XXGLOBAL_1.lock
[Tue Dec 23 20:12:37 2008] [warn] Requested locking mechanism name: (null)
[Tue Dec 23 20:12:37 2008] [warn] removing dashboard file
'C:\\Windows\\TEMP/mod_mono_dashboard_XXGLOBAL_1'
[Tue Dec 23 20:12:37 2008] [warn] creating dashboard
'C:\\Windows\\TEMP/mod_mono_dashboard_XXGLOBAL_1'
[Tue Dec 23 20:12:37 2008] [warn] creating dir config for (null)
[Tue Dec 23 20:12:37 2008] [warn] creating dir config for (null)
[Tue Dec 23 20:12:37 2008] [warn] creating mono server config
[Tue Dec 23 20:12:37 2008] [warn] Registry key found. SdkInstallRoot:
'c:\\mono'
[Tue Dec 23 20:12:37 2008] [warn] creating dashboard mutex =
C:\\Windows\\TEMP/mod_mono_dashboard_XXGLOBAL_1.lock
[Tue Dec 23 20:12:37 2008] [warn] Requested locking mechanism name: (null)
[Tue Dec 23 20:12:37 2008] [warn] store_config 40
'I:/raamat/MyAppWeb/SilverlightApplication4_Web' '(null)'
[Tue Dec 23 20:12:37 2008] [warn] store_config 32 '/:./' '(null)'
[Tue Dec 23 20:12:37 2008] [warn] store_config 68 'true' '(null)'
[Tue Dec 23 20:12:37 2008] [warn] Total mod-mono-servers to spawn so far: 2
httpd.exe: Could not reliably determine the server's fully qualified domain
name, using 192.168.1.123 for ServerName
[Tue Dec 23 20:12:37 2008] [warn] Initializing handler
[Tue Dec 23 20:12:37 2008] [notice] Apache/2.2.10 (Win32) mod_mono/1.9
configured -- resuming normal operations
[Tue Dec 23 20:12:37 2008] [notice] Server built: Oct 10 2008 12:39:04
[Tue Dec 23 20:12:37 2008] [notice] Parent: Created child process 4048
[Tue Dec 23 20:12:37 2008] [debug] mpm_winnt.c(487): Parent: Sent the
scoreboard to the child
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
actions_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module alias_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module asis_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
auth_basic_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authn_default_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authn_file_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authz_default_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authz_groupfile_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authz_host_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authz_user_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
autoindex_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module cgi_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module dir_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module env_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
include_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module isapi_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
log_config_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module mime_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
negotiation_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
setenvif_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module mono_module
[Tue Dec 23 20:12:37 2008] [warn] creating mono server config
[Tue Dec 23 20:12:37 2008] [warn] Registry key found. SdkInstallRoot:
'c:\\mono'
[Tue Dec 23 20:12:37 2008] [warn] creating dashboard mutex =
C:\\Windows\\TEMP/mod_mono_dashboard_XXGLOBAL_1.lock
[Tue Dec 23 20:12:37 2008] [warn] Requested locking mechanism name: (null)
[Tue Dec 23 20:12:37 2008] [warn] creating dir config for (null)
[Tue Dec 23 20:12:37 2008] [warn] creating dir config for (null)
[Tue Dec 23 20:12:37 2008] [warn] creating mono server config
[Tue Dec 23 20:12:37 2008] [warn] Registry key found. SdkInstallRoot:
'c:\\mono'
[Tue Dec 23 20:12:37 2008] [warn] creating dashboard mutex =
C:\\Windows\\TEMP/mod_mono_dashboard_XXGLOBAL_1.lock
[Tue Dec 23 20:12:37 2008] [warn] Requested locking mechanism name: (null)
[Tue Dec 23 20:12:37 2008] [warn] store_config 40
'I:/raamat/EevaWeb/SilverlightApplication4_Web' '(null)'
[Tue Dec 23 20:12:37 2008] [warn] store_config 32 '/:./' '(null)'
[Tue Dec 23 20:12:37 2008] [warn] store_config 68 'true' '(null)'
[Tue Dec 23 20:12:37 2008] [warn] Total mod-mono-servers to spawn so far: 2
httpd.exe: Could not reliably determine the server's fully qualified domain
name, using 192.168.1.123 for ServerName
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
actions_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module alias_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module asis_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
auth_basic_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authn_default_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authn_file_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authz_default_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authz_groupfile_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authz_host_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authz_user_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
autoindex_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module cgi_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module dir_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module env_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
include_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module isapi_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
log_config_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module mime_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
negotiation_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
setenvif_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module mono_module
[Tue Dec 23 20:12:37 2008] [warn] creating mono server config
[Tue Dec 23 20:12:37 2008] [warn] Registry key found. SdkInstallRoot:
'c:\\mono'
[Tue Dec 23 20:12:37 2008] [warn] creating dashboard mutex =
C:\\Windows\\TEMP/mod_mono_dashboard_XXGLOBAL_1.lock
[Tue Dec 23 20:12:37 2008] [warn] Requested locking mechanism name: (null)
[Tue Dec 23 20:12:37 2008] [warn] creating dir config for (null)
[Tue Dec 23 20:12:37 2008] [warn] creating dir config for (null)
[Tue Dec 23 20:12:37 2008] [warn] creating mono server config
[Tue Dec 23 20:12:37 2008] [warn] Registry key found. SdkInstallRoot:
'c:\\mono'
[Tue Dec 23 20:12:37 2008] [warn] creating dashboard mutex =
C:\\Windows\\TEMP/mod_mono_dashboard_XXGLOBAL_1.lock
[Tue Dec 23 20:12:37 2008] [warn] Requested locking mechanism name: (null)
[Tue Dec 23 20:12:37 2008] [warn] store_config 40
'I:/raamat/MyAppWeb/SilverlightApplication4_Web' '(null)'
[Tue Dec 23 20:12:37 2008] [warn] store_config 32 '/:./' '(null)'
[Tue Dec 23 20:12:37 2008] [warn] store_config 68 'true' '(null)'
[Tue Dec 23 20:12:37 2008] [warn] Total mod-mono-servers to spawn so far: 2
httpd.exe: Could not reliably determine the server's fully qualified domain
name, using 192.168.1.123 for ServerName
[Tue Dec 23 20:12:37 2008] [warn] Initializing handler
[Tue Dec 23 20:12:37 2008] [notice] Child 4048: Child process is running
[Tue Dec 23 20:12:37 2008] [debug] mpm_winnt.c(408): Child 4048: Retrieved
our scoreboard from the parent.
[Tue Dec 23 20:12:37 2008] [info] Parent: Duplicating socket 220 and sending
it to child process 4048
[Tue Dec 23 20:12:37 2008] [debug] mpm_winnt.c(605): Parent: Sent 1
listeners to child 4048
[Tue Dec 23 20:12:37 2008] [debug] mpm_winnt.c(564): Child 4048: retrieved 1
listeners from parent
[Tue Dec 23 20:12:37 2008] [warn] Mono Child Init
[Tue Dec 23 20:12:38 2008] [warn] try_connect: -1
[Tue Dec 23 20:12:38 2008] [warn] forking XXGLOBAL
[Tue Dec 23 20:12:38 2008] [warn] Applications: (null)
[Tue Dec 23 20:12:38 2008] [warn] Config file: (null)
[Tue Dec 23 20:12:38 2008] [warn] Config dir.: (null)
[Tue Dec 23 20:12:38 2008] [warn] Listen port: 2000
[Tue Dec 23 20:12:38 2008] [warn] Listen address: (null)
[Tue Dec 23 20:12:38 2008] [warn] PATH:
c:\\mono\\bin;c:\\tools;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Program
Files\\Common Files\\Roxio Shared\\DLLShared\\;C:\\Program Files\\Common
Files\\Roxio Shared\\10.0\\DLLShared\\
[Tue Dec 23 20:12:38 2008] [warn] serverdir: c:\\mono/bin
[Tue Dec 23 20:12:38 2008] [warn] PATH after:
c:\\mono/bin;c:\\mono\\bin;c:\\tools;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Program
Files\\Common Files\\Roxio Shared\\DLLShared\\;C:\\Program Files\\Common
Files\\Roxio Shared\\10.0\\DLLShared\\
[Tue Dec 23 20:12:38 2008] [debug] mod_mono.c(1735): running
'c:\\mono/bin/mod-mono-server.bat --address 127.0.0.1 --port
2000 --nonstop --master (null) (null) (null) (null) (null) (null)'
[Tue Dec 23 20:12:38 2008] [warn] try_connect: 0
[Tue Dec 23 20:12:38 2008] [warn] connected XXGLOBAL
[Tue Dec 23 20:12:38 2008] [notice] Child 4048: Acquired the start mutex.
[Tue Dec 23 20:12:38 2008] [notice] Child 4048: Starting 64 worker threads.
[Tue Dec 23 20:12:38 2008] [notice] Child 4048: Starting thread to listen on
port 80.
[Tue Dec 23 20:14:35 2008] [warn] handler: mono
[Tue Dec 23 20:14:35 2008] [warn] config = 0xd10720
[Tue Dec 23 20:14:35 2008] [warn] dir_config = 0xd10718
[Tue Dec 23 20:14:35 2008] [warn] idx = -1
[Tue Dec 23 20:14:35 2008] [warn] Alias not found. Checking for
auto-applications.
[Tue Dec 23 20:14:35 2008] [warn] try_connect: 0
[Tue Dec 23 20:14:35 2008] [warn] After setup_socket
[Tue Dec 23 20:14:35 2008] [warn] Sending init data
[Tue Dec 23 20:14:35 2008] [warn] Send init
[Tue Dec 23 20:14:35 2008] [warn] Initial data size: 733
[Tue Dec 23 20:14:35 2008] [warn] Accept: image/gif, image/x-xbitmap,
image/jpeg, image/pjpeg, application/x-ms-application,
application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap,
application/x-shockwave-flash, application/msword, */*
[Tue Dec 23 20:14:35 2008] [warn] Accept-Language: et
[Tue Dec 23 20:14:35 2008] [warn] UA-CPU: x86
[Tue Dec 23 20:14:35 2008] [warn] Accept-Encoding: gzip, deflate
[Tue Dec 23 20:14:35 2008] [warn] If-Modified-Since: Sun, 21 Dec 2008
23:20:39 GMT
[Tue Dec 23 20:14:35 2008] [warn] If-None-Match:
"13000000004c60-63-45e96ca525ad0"
[Tue Dec 23 20:14:35 2008] [warn] User-Agent: Mozilla/4.0 (compatible; MSIE
7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022; .NET CLR
3.5.30729; .NET CLR 3.0.30618)
[Tue Dec 23 20:14:35 2008] [warn] Host: localhost
[Tue Dec 23 20:14:35 2008] [warn] Connection: Keep-Alive
[Tue Dec 23 20:14:35 2008] [warn] Loop
[Tue Dec 23 20:14:35 2008] [warn] Command received: DECLINE_REQUEST (9)
[Tue Dec 23 20:14:35 2008] [warn] Done. Status: -1
More information about the Mono-list
mailing list