For Raspberry PI 3, in order to make sure there is an one to one mapping between apache2 server processes and mod_mono_server4
processes, the /etc/mono_server4/mono-server4-hosts.conf
file must contain exactly the following lines:
# Default configuration, don't edit it!
<IfModule mod_mono.c>
MonoUnixSocket default /tmp/.mod_mono_server4
MonoServerPath default /usr/bin/mod-mono-server4
AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx
MonoApplications /:/home/richard/DevelopmentX64/HVR-Web-App
MonoPath default /usr/lib/mono/4.5:/usr/lib
</IfModule>
Please note that the MonoApplications line is required so that all the mod_mono_server4 process instance have identical argument lists.
However in Ubuntu 16.04 the aforementioned change is not necessary.
What is the reason that Raspberry PI running under Mono 4.4.2 requires the
MonoApplications
line rather than the MonoApplicationsConfigDir
line?