[Mono-list] Mono does not handle NumberService.asmx file
Andrus
kobruleht2 at hot.ee
Wed Dec 24 10:30:24 EST 2008
Robert,
> Remove these lines:
>
>> SetHandler mono
>> AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx
>
> ...
>
>> <VirtualHost *:80>
>> SetHandler mono
>
> Remove AddHandler:
Thank you.
I tried mod_mono.conf containing:
<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>
<IfModule mod_dir.c>
DirectoryIndex index.aspx default.aspx
</IfModule>
<VirtualHost *:80>
ServerName localhost
DocumentRoot "I:\raamat\EevaWeb\SilverlightApplication4_Web"
MonoDocumentRootDir "I:/raamat/EevaWeb/SilverlightApplication4_Web"
MonoApplications "/:./"
MonoDebug true
</VirtualHost>
<Location /mono>
SetHandler mono-ctrl
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
mono still does not handle asmx files.
Apache error.log contains:
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
actions_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module alias_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module asis_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
auth_basic_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
authn_default_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
authn_file_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
authz_default_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
authz_groupfile_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
authz_host_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
authz_user_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
autoindex_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module cgi_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module dir_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module env_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
include_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module isapi_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
log_config_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module mime_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
negotiation_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
setenvif_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module mono_module
[Wed Dec 24 17:17:10 2008] [warn] creating mono server config
[Wed Dec 24 17:17:10 2008] [warn] Registry key found. SdkInstallRoot:
'c:\\mono'
[Wed Dec 24 17:17:10 2008] [warn] creating dashboard mutex =
C:\\Windows\\TEMP/mod_mono_dashboard_XXGLOBAL_1.lock
[Wed Dec 24 17:17:10 2008] [warn] Requested locking mechanism name: (null)
[Wed Dec 24 17:17:10 2008] [warn] removing dashboard file
'C:\\Windows\\TEMP/mod_mono_dashboard_XXGLOBAL_1'
[Wed Dec 24 17:17:10 2008] [warn] creating dashboard
'C:\\Windows\\TEMP/mod_mono_dashboard_XXGLOBAL_1'
[Wed Dec 24 17:17:10 2008] [warn] creating dir config for (null)
[Wed Dec 24 17:17:10 2008] [warn] creating dir config for (null)
[Wed Dec 24 17:17:10 2008] [warn] creating mono server config
[Wed Dec 24 17:17:10 2008] [warn] Registry key found. SdkInstallRoot:
'c:\\mono'
[Wed Dec 24 17:17:10 2008] [warn] creating dashboard mutex =
C:\\Windows\\TEMP/mod_mono_dashboard_XXGLOBAL_1.lock
[Wed Dec 24 17:17:10 2008] [warn] Requested locking mechanism name: (null)
[Wed Dec 24 17:17:10 2008] [warn] store_config 40
'I:/raamat/EevaWeb/SilverlightApplication4_Web' '(null)'
[Wed Dec 24 17:17:10 2008] [warn] store_config 32 '/:./' '(null)'
[Wed Dec 24 17:17:10 2008] [warn] store_config 68 'true' '(null)'
[Wed Dec 24 17:17:10 2008] [warn] Total mod-mono-servers to spawn so far: 2
[Wed Dec 24 17:17:10 2008] [warn] Initializing handler
[Wed Dec 24 17:17:10 2008] [notice] Apache/2.2.10 (Win32) mod_mono/1.9
configured -- resuming normal operations
[Wed Dec 24 17:17:10 2008] [notice] Server built: Oct 10 2008 12:39:04
[Wed Dec 24 17:17:10 2008] [notice] Parent: Created child process 1196
[Wed Dec 24 17:17:10 2008] [debug] mpm_winnt.c(487): Parent: Sent the
scoreboard to the child
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
actions_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module alias_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module asis_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
auth_basic_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
authn_default_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
authn_file_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
authz_default_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
authz_groupfile_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
authz_host_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
authz_user_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
autoindex_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module cgi_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module dir_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module env_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
include_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module isapi_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
log_config_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module mime_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
negotiation_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module
setenvif_module
[Wed Dec 24 17:17:10 2008] [debug] mod_so.c(246): loaded module mono_module
[Wed Dec 24 17:17:10 2008] [warn] creating mono server config
[Wed Dec 24 17:17:10 2008] [warn] Registry key found. SdkInstallRoot:
'c:\\mono'
[Wed Dec 24 17:17:10 2008] [warn] creating dashboard mutex =
C:\\Windows\\TEMP/mod_mono_dashboard_XXGLOBAL_1.lock
[Wed Dec 24 17:17:10 2008] [warn] Requested locking mechanism name: (null)
[Wed Dec 24 17:17:10 2008] [warn] creating dir config for (null)
[Wed Dec 24 17:17:10 2008] [warn] creating dir config for (null)
[Wed Dec 24 17:17:10 2008] [warn] creating mono server config
[Wed Dec 24 17:17:10 2008] [warn] Registry key found. SdkInstallRoot:
'c:\\mono'
[Wed Dec 24 17:17:10 2008] [warn] creating dashboard mutex =
C:\\Windows\\TEMP/mod_mono_dashboard_XXGLOBAL_1.lock
[Wed Dec 24 17:17:10 2008] [warn] Requested locking mechanism name: (null)
[Wed Dec 24 17:17:10 2008] [warn] store_config 40
'I:/raamat/EevaWeb/SilverlightApplication4_Web' '(null)'
[Wed Dec 24 17:17:10 2008] [warn] store_config 32 '/:./' '(null)'
[Wed Dec 24 17:17:10 2008] [warn] store_config 68 'true' '(null)'
[Wed Dec 24 17:17:10 2008] [warn] Total mod-mono-servers to spawn so far: 2
[Wed Dec 24 17:17:11 2008] [debug] mod_so.c(246): loaded module
actions_module
[Wed Dec 24 17:17:11 2008] [debug] mod_so.c(246): loaded module alias_module
[Wed Dec 24 17:17:11 2008] [debug] mod_so.c(246): loaded module asis_module
[Wed Dec 24 17:17:11 2008] [debug] mod_so.c(246): loaded module
auth_basic_module
[Wed Dec 24 17:17:11 2008] [debug] mod_so.c(246): loaded module
authn_default_module
[Wed Dec 24 17:17:11 2008] [debug] mod_so.c(246): loaded module
authn_file_module
[Wed Dec 24 17:17:11 2008] [debug] mod_so.c(246): loaded module
authz_default_module
[Wed Dec 24 17:17:11 2008] [debug] mod_so.c(246): loaded module
authz_groupfile_module
[Wed Dec 24 17:17:11 2008] [debug] mod_so.c(246): loaded module
authz_host_module
[Wed Dec 24 17:17:11 2008] [debug] mod_so.c(246): loaded module
authz_user_module
[Wed Dec 24 17:17:11 2008] [debug] mod_so.c(246): loaded module
autoindex_module
[Wed Dec 24 17:17:11 2008] [debug] mod_so.c(246): loaded module cgi_module
[Wed Dec 24 17:17:11 2008] [debug] mod_so.c(246): loaded module dir_module
[Wed Dec 24 17:17:11 2008] [debug] mod_so.c(246): loaded module env_module
[Wed Dec 24 17:17:11 2008] [debug] mod_so.c(246): loaded module
include_module
[Wed Dec 24 17:17:11 2008] [debug] mod_so.c(246): loaded module isapi_module
[Wed Dec 24 17:17:11 2008] [debug] mod_so.c(246): loaded module
log_config_module
[Wed Dec 24 17:17:11 2008] [debug] mod_so.c(246): loaded module mime_module
[Wed Dec 24 17:17:11 2008] [debug] mod_so.c(246): loaded module
negotiation_module
[Wed Dec 24 17:17:11 2008] [debug] mod_so.c(246): loaded module
setenvif_module
[Wed Dec 24 17:17:11 2008] [debug] mod_so.c(246): loaded module mono_module
[Wed Dec 24 17:17:11 2008] [warn] creating mono server config
[Wed Dec 24 17:17:11 2008] [warn] Registry key found. SdkInstallRoot:
'c:\\mono'
[Wed Dec 24 17:17:11 2008] [warn] creating dashboard mutex =
C:\\Windows\\TEMP/mod_mono_dashboard_XXGLOBAL_1.lock
[Wed Dec 24 17:17:11 2008] [warn] Requested locking mechanism name: (null)
[Wed Dec 24 17:17:11 2008] [warn] creating dir config for (null)
[Wed Dec 24 17:17:11 2008] [warn] creating dir config for (null)
[Wed Dec 24 17:17:11 2008] [warn] creating mono server config
[Wed Dec 24 17:17:11 2008] [warn] Registry key found. SdkInstallRoot:
'c:\\mono'
[Wed Dec 24 17:17:11 2008] [warn] creating dashboard mutex =
C:\\Windows\\TEMP/mod_mono_dashboard_XXGLOBAL_1.lock
[Wed Dec 24 17:17:11 2008] [warn] Requested locking mechanism name: (null)
[Wed Dec 24 17:17:11 2008] [warn] store_config 40
'I:/raamat/EevaWeb/SilverlightApplication4_Web' '(null)'
[Wed Dec 24 17:17:11 2008] [warn] store_config 32 '/:./' '(null)'
[Wed Dec 24 17:17:11 2008] [warn] store_config 68 'true' '(null)'
[Wed Dec 24 17:17:11 2008] [warn] Total mod-mono-servers to spawn so far: 2
[Wed Dec 24 17:17:11 2008] [warn] Initializing handler
[Wed Dec 24 17:17:11 2008] [notice] Child 1196: Child process is running
[Wed Dec 24 17:17:11 2008] [debug] mpm_winnt.c(408): Child 1196: Retrieved
our scoreboard from the parent.
[Wed Dec 24 17:17:11 2008] [info] Parent: Duplicating socket 220 and sending
it to child process 1196
[Wed Dec 24 17:17:11 2008] [debug] mpm_winnt.c(605): Parent: Sent 1
listeners to child 1196
[Wed Dec 24 17:17:11 2008] [debug] mpm_winnt.c(564): Child 1196: retrieved 1
listeners from parent
[Wed Dec 24 17:17:11 2008] [warn] Mono Child Init
[Wed Dec 24 17:17:12 2008] [warn] try_connect: -1
[Wed Dec 24 17:17:12 2008] [warn] forking XXGLOBAL
[Wed Dec 24 17:17:12 2008] [warn] Applications: (null)
[Wed Dec 24 17:17:12 2008] [warn] Config file: (null)
[Wed Dec 24 17:17:12 2008] [warn] Config dir.: (null)
[Wed Dec 24 17:17:12 2008] [warn] Listen port: 2000
[Wed Dec 24 17:17:12 2008] [warn] Listen address: (null)
[Wed Dec 24 17:17:12 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\\
[Wed Dec 24 17:17:12 2008] [warn] serverdir: c:\\mono/bin
[Wed Dec 24 17:17:12 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\\
[Wed Dec 24 17:17:12 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)'
[Wed Dec 24 17:17:12 2008] [warn] try_connect: 0
[Wed Dec 24 17:17:12 2008] [warn] connected XXGLOBAL
[Wed Dec 24 17:17:12 2008] [notice] Child 1196: Acquired the start mutex.
[Wed Dec 24 17:17:12 2008] [notice] Child 1196: Starting 64 worker threads.
[Wed Dec 24 17:17:12 2008] [notice] Child 1196: Starting thread to listen on
port 80.
If I ran server manually using
c:\mono/bin/mod-mono-server.bat --address 127.0.0.1 --port
2000 --applications /:./ --nonstop --root
I:/raamat/EevaWeb/SilverlightApplication4_Web --master --verbose
mono handles pages properly.
No idea what I'm doing wrong.
Andrus.
More information about the Mono-list
mailing list