зеркало из https://github.com/mono/mail-archives.git
143 строки
4.9 KiB
HTML
143 строки
4.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-list] mod_mono & xsp
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:giuseppe.greco%40agamura.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
|
|
<LINK REL="Previous" HREF="025605.html">
|
|
<LINK REL="Next" HREF="025606.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-list] mod_mono & xsp
|
|
</H1>
|
|
<B>Giuseppe Greco
|
|
</B>
|
|
<A HREF="mailto:giuseppe.greco%40agamura.com"
|
|
TITLE="[Mono-list] mod_mono & xsp">giuseppe.greco@agamura.com
|
|
</A><BR>
|
|
<I>Sat, 05 Feb 2005 22:28:08 +0100</I>
|
|
<P><UL>
|
|
<LI> Previous message: <A HREF="025605.html">[Mono-list] mod_mono & xsp
|
|
</A></li>
|
|
<LI> Next message: <A HREF="025606.html">[Mono-list] mod_mono & xsp
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#25607">[ date ]</a>
|
|
<a href="thread.html#25607">[ thread ]</a>
|
|
<a href="subject.html#25607">[ subject ]</a>
|
|
<a href="author.html#25607">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>Neil,
|
|
|
|
Yes, finally I was able to get mod_mono and xsp working on FC3!
|
|
Here below is the procedure, step-by-step:
|
|
|
|
1. Create a file named mono.conf and save it into /etc/httpd/cond.d:
|
|
|
|
LoadModule mono_module modules/mod_mono.so
|
|
MonoApplications "/demo:/usr/share/doc/xsp/test"
|
|
|
|
Alias /demo "/usr/share/doc/xsp/test"
|
|
<Directory /usr/share/doc/xsp/test>
|
|
AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmy
|
|
</Directory>
|
|
|
|
2. Start mod-mono-server:
|
|
|
|
mod-mono-server --root /usr/local/share/doc/xsp
|
|
--applications /demo:. --nonstop &
|
|
|
|
3. cd to /tmp and type:
|
|
|
|
chmod 666 mod_mono_server
|
|
|
|
4. Restart apache:
|
|
|
|
/etc/init.d/httpd restart
|
|
|
|
5. Open the following URL:
|
|
|
|
<A HREF="http://localhost/demo">http://localhost/demo</A>
|
|
|
|
That is it! As I told before, it would be nice
|
|
to either have a script under /etc/init.d making
|
|
that automatically, or have mod_mono invoking
|
|
mod-mono-server automatically (as it should).
|
|
|
|
j3d.
|
|
|
|
On Sat, 2005-02-05 at 11:50 -0700, Neil Zanella wrote:
|
|
><i> BTW, anyone get mod_mono and xsp working on FC3?
|
|
</I>><i>
|
|
</I>><i> Thanks,
|
|
</I>><i>
|
|
</I>><i> Neil
|
|
</I>><i>
|
|
</I>><i> On Sat, 05 Feb 2005 13:41:21 -0500, Gonzalo Paniagua Javier
|
|
</I>><i> <<A HREF="mailto:gonzalo@ximian.com">gonzalo@ximian.com</A>> wrote:
|
|
</I>><i> > On Sat, 2005-02-05 at 15:30 +0100, Giuseppe Greco wrote:
|
|
</I>><i> > > Hi all,
|
|
</I>><i> > >
|
|
</I>><i> > > > > mod_mono is configured to run mod-mono-server automatically, isn't it?
|
|
</I>><i> > > > >
|
|
</I>><i> > > > no, at least not on my Mandrake machine. I had to start it with:
|
|
</I>><i> > > > mono /usr/bin/mod-mono-server.exe --root /var/www/html/mtest --
|
|
</I>><i> > > > applications /mtest:/var/www/html/mtest --nonstop &
|
|
</I>><i> > > > The --root parameter tells the ASP server where the aspx documents are
|
|
</I>><i> > > > and the --application parameter also needs to proint to the dir of the
|
|
</I>><i> > > > example.
|
|
</I>><i> > > > And then change the rights on /tmp/mod_mono_server using:
|
|
</I>><i> > > > chmod 666 /tmp/mod_mono_server
|
|
</I>><i> > > > before it worked.
|
|
</I>><i> > > > Hope that helps...
|
|
</I>><i> > >
|
|
</I>><i> > > starting mod-mono-server first, and then httpd, I'm able to serve
|
|
</I>><i> > > ASP.NET pages... That means the documentation is wrong.
|
|
</I>><i> >
|
|
</I>><i> > Where *exactly* is the documentation wrong?
|
|
</I>><i> >
|
|
</I>><i> > -Gonzalo
|
|
</I>><i> >
|
|
</I>><i> > _______________________________________________
|
|
</I>><i> > Mono-list maillist - <A HREF="mailto:Mono-list@lists.ximian.com">Mono-list@lists.ximian.com</A>
|
|
</I>><i> > <A HREF="http://lists.ximian.com/mailman/listinfo/mono-list">http://lists.ximian.com/mailman/listinfo/mono-list</A>
|
|
</I>><i> >
|
|
</I>><i>
|
|
</I>><i>
|
|
</I>--
|
|
----------------------------------------
|
|
Giuseppe Greco
|
|
|
|
::<i>agamura::
|
|
</I>
|
|
phone: +41 (0)91 604 67 65
|
|
mobile: +41 (0)79 602 99 27
|
|
email: <A HREF="mailto:giuseppe.greco@agamura.com">giuseppe.greco@agamura.com</A>
|
|
web: www.agamura.com
|
|
----------------------------------------
|
|
|
|
|
|
</PRE>
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI> Previous message: <A HREF="025605.html">[Mono-list] mod_mono & xsp
|
|
</A></li>
|
|
<LI> Next message: <A HREF="025606.html">[Mono-list] mod_mono & xsp
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#25607">[ date ]</a>
|
|
<a href="thread.html#25607">[ thread ]</a>
|
|
<a href="subject.html#25607">[ subject ]</a>
|
|
<a href="author.html#25607">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
</body></html>
|