Package: libapache2-mod-mono
Version: 1.2.1-1

I installed mono-apache-server2 along with asp.net2-examples to test
out ASP.NET 2.0 in Mono. When I try to access
http://localhost/samples, I get a 503 error.

The apache error.log shows:

 [error] Failed running '/usr/lib/pkgconfig/../../bin/mod-mono-server
--filename /tmp/mod_mono_server_default --applications
/samples:/usr/share/asp.net2-demos --nonstop (null) (null) (null)
(null) (null) (null) (null)'. Reason: No such file or directory

There is a mod-mono-server2 instead at that location.It works
correctly if I install mono-apache-server. Thus, I believe this value
has been hardcoded or there is some other configuration issue.

The mono-server2-hosts.conf file:

# Default configuration, don't edit it!
<IfModule mod_mono.c>
 MonoUnixSocket /tmp/.mod_mono_server2
 MonoServerPath /usr/lib/mono/2.0/mod-mono-server2.exe
 AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx
 MonoApplicationsConfigDir /etc/mono-server2
 MonoPath /usr/lib/mono/2.0:/usr/lib:/usr/lib/mono/2.0
# start /etc/mono-server2/conf.d/asp.net2-examples/10_asp.net2-examples
    Alias /samples "/usr/share/asp.net2-demos"
    AddMonoApplications default "/samples:/usr/share/asp.net2-demos"
      <Directory /usr/share/asp.net2-demos>
        SetHandler mono
          <IfModule mod_dir.c>
             DirectoryIndex index.aspx
          </IfModule>
      </Directory>
# end /etc/mono-server2/conf.d/asp.net2-examples/10_asp.net2-examples
</IfModule>

and in mod-mono.conf, I've commented out
Include /etc/mono-server/mono-server-hosts.conf
and uncommented Include /etc/mono-server2/mono-server2-hosts.conf.

This is repeatable with another test site as well.
I am using Debian Sid with the standard repositories.

Regards,

Nic


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to