[Mono-list] Apache 1.3 and mod_mono-0.10
Øyvind Hvamstad
oyvind@hvamstad.net
Sun, 06 Jun 2004 13:12:01 +0200
Hi, I'm trying to set up the mod_mono module. My http.conf looks like
this:
LoadModule mono_module /usr/lib/apache/1.3/libmod_mono.so
MonoExecutablePath "/usr/local/bin/mono"
MonoServerPath "/usr/local/bin/mod-mono-server.exe"
MonoPath "/usr/local/lib/mono/1.0"
Alias /demo "/usr/local/share/doc/xsp/test"
MonoApplications "/demo:/usr/local/share/doc/xsp/test"
<Directory /usr/share/doc/xsp/test>
SetHandler mono
<IfModule mod_dir.c>
DirectoryIndex index.aspx
</IfModule>
</Directory>
When i point to localhost/demo/index.aspx the ASP tags and code is
printed to the browser.
<snip>
<%@ language="C#" %> <%@ Import namespace="System.IO" %>
Welcome to Mono XSP!
Here are some ASP.NET examples:
<% DirectoryInfo dir = new DirectoryIn..... and so on.
</snip>
How can I debug this, or even better, what is it that I'm doing wrong?
Did I say that you guys are great? No? -Well you are.. :)
As a side note: The DirectoryIndex did not work inside the Directory
tag. I had to set the global DirectoryIndex.
-- Version info
Mono JIT compiler version 0.95, (C) 2002-2004 Novell, Inc and
Contributors. www.go-mono.com
TLS: NPTL
GC: Included Boehm (with typed GC)
SIGSEGV : altstack
Globalization: none
Mono C# compiler version 0.95.0.0
mod-mono-server.exe 0.14.0.0
(c) 2002,2003 Ximian, Inc.
(c) 2003,2004 Novell, Inc.
Minimalistic web server for testing System.Web
Apache/1.3.31 (Debian GNU/Linux) mod_mono/0.10 mod_python/2.7.10
Python/2.3.3a0 PHP/4.3.4 configured
--
Øyvind Hvamstad <oyvind@hvamstad,net>
--
Øyvind Hvamstad <oyvind@hvamstad.net>