mail-archives/mono-list/2003-October/016393.html

95 строки
3.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-list] mod_mono verbose mode?
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:gonzalo%40ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="016390.html">
<LINK REL="Next" HREF="016397.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-list] mod_mono verbose mode?
</H1>
<B>Gonzalo Paniagua Javier
</B>
<A HREF="mailto:gonzalo%40ximian.com"
TITLE="[Mono-list] mod_mono verbose mode?">gonzalo@ximian.com
</A><BR>
<I>Tue, 14 Oct 2003 13:29:37 +0200</I>
<P><UL>
<LI> Previous message: <A HREF="016390.html">[Mono-list] mod_mono verbose mode?
</A></li>
<LI> Next message: <A HREF="016397.html">[Mono-list] mod_mono verbose mode?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16393">[ date ]</a>
<a href="thread.html#16393">[ thread ]</a>
<a href="subject.html#16393">[ subject ]</a>
<a href="author.html#16393">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>El mar, 14-10-2003 a las 11:51, Artur Brodowski escribió:
&gt;<i> W li¶cie z pon, 13-10-2003, godz. 16:32, Gonzalo Paniagua Javier pisze:
</I>&gt;<i> &gt; Is the file readable/writable by both the user running apache and the
</I>&gt;<i> &gt; user running the server?
</I>&gt;<i> Of course it is, as requested in mod_mono INSTALL file. I have even made
</I>&gt;<i> it world writeable, just to make sure if it's not some groups issue, but
</I>&gt;<i> apparently it is not. XSP alone works fine, Apache version is 2.0.47.
</I>&gt;<i> httpd config contains those lines:
</I>&gt;<i>
</I>&gt;<i> LoadModule mono_module modules/libmod_mono.so
</I>&gt;<i> MonoUnixSocket /tmp/mod_mono_server
</I>&gt;<i> Alias /mono /usr/local/share/doc/xsp/test
</I>&gt;<i> AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config
</I>&gt;<i> .ascx
</I>&gt;<i>
</I>&gt;<i> Any ideas?
</I>
These are the lines I have in my httpd.conf:
-------------------
Listen 8080
AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config
.ascx
LoadModule mono_module /home/gpanjav/apache2/modules/mod_mono.so
MonoUnixSocket /tmp/mod_mono_server
Alias /samples &quot;/home/gpanjav/go-mono/install/share/doc/xsp/test&quot;
Alias /docs &quot;/home/gpanjav/go-mono/monodoc/browser/web&quot;
-------------------
So there are 2 differences:
1. You try to load libmod_mono.so, which is not installed in the
apache modules directory, but in $(prefix)/lib. Change it by
mod_mono.so (as the INSTALL file says :).
2. I remember something about using quotes in Alias, but that's a
non-issue after 1.
-Gonzalo
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="016390.html">[Mono-list] mod_mono verbose mode?
</A></li>
<LI> Next message: <A HREF="016397.html">[Mono-list] mod_mono verbose mode?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16393">[ date ]</a>
<a href="thread.html#16393">[ thread ]</a>
<a href="subject.html#16393">[ subject ]</a>
<a href="author.html#16393">[ author ]</a>
</LI>
</UL>
</body></html>