[Mono-list] xsp/mod_mono setup

Kenneth Benson sdhmis@sheratondover.com
Fri, 7 Nov 2003 13:41:12 -0500


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01C3A55E.B7F3C160
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C3A55E.B7F3C160"


------_=_NextPart_001_01C3A55E.B7F3C160
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

OK, as a follow on to my problem...I did a cvs update, then a make =
clean;
autogen.sh
make; make install with my prefix. It still does the same thing from =
Mozilla
on the
development box and when I tested from a Windows box with IE 6 the
language/import
statement is gone, the mono logo is there, no other code shows, but no
examples are
displayed and the date time generated is not showing. I've attached a =
file
with the
page source as seen by IE 6 in it. If you want a screen print let me =
know.

-----Original Message-----
From: Kenneth Benson [mailto:sdhmis@sheratondover.com]
Sent: Thursday, November 06, 2003 6:03 PM
To: 'Gonzalo Paniagua Javier'; mono-list@lists.ximian.com
Subject: RE: [Mono-list] xsp/mod_mono setup



I think it's about 6-7 days old. I'll get a fresh CVS tomorrow and give =
it a
try.=20

-----Original Message-----=20
From: Gonzalo Paniagua Javier [ mailto:gonzalo@ximian.com
<mailto:gonzalo@ximian.com> ]=20
Sent: Wednesday, November 05, 2003 8:32 PM=20
To: mono-list@lists.ximian.com=20
Subject: Re: [Mono-list] xsp/mod_mono setup=20


El mi=E9, 05-11-2003 a las 20:02, Kenneth Benson escribi=F3:=20
> Below is the output of setting up xsp and mod_mono per the install=20
> file=20
> in mod_mono.....=20
>=20
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=20
> <%@ language=3D"C#" %> <%@ Import namespace=3D"System.IO" %>=20
> Welcome to Mono XSP!=20
> http://www.go-mono.com <http://www.go-mono.com> =20
>=20
> Here are some ASP.NET examples:=20
>=20

[snip]=20

> FileList.Text =3D sb.ToString ();=20
> %>=20
> <ul>=20
> <asp:Label id=3D"FileList" runat=3D"server" />=20
> </ul>=20
> <hr />=20
> <small>Generated: <%=3D DateTime.Now %></small>=20
> </html>=20
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=20
>=20
> Can anyone help me figure out what is going wrong?=20
> Thanks in advance!=20

Are you using current CVS?=20

-Gonzalo=20


_______________________________________________=20
Mono-list maillist  -  Mono-list@lists.ximian.com=20
http://lists.ximian.com/mailman/listinfo/mono-list
<http://lists.ximian.com/mailman/listinfo/mono-list> =20


------_=_NextPart_001_01C3A55E.B7F3C160
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>RE: [Mono-list] xsp/mod_mono setup</TITLE>

<META content=3D"MSHTML 6.00.2800.1264" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2><SPAN=20
class=3D544113218-07112003>OK, as a follow on to my problem...I did a =
cvs update,=20
then a make clean; autogen.sh</SPAN></FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2><SPAN=20
class=3D544113218-07112003>make; make install with my prefix. =
</SPAN></FONT><FONT=20
face=3D"Courier New" color=3D#0000ff size=3D2><SPAN =
class=3D544113218-07112003>It still=20
does the same thing from Mozilla on the</SPAN></FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2><SPAN=20
class=3D544113218-07112003>development box and when I tested from a =
Windows box=20
with IE 6 the language/import</SPAN></FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2><SPAN=20
class=3D544113218-07112003>statement is gone, the mono logo is there, =
no other=20
code shows, but no examples are</SPAN></FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2><SPAN=20
class=3D544113218-07112003>displayed and the date time generated is not =
showing.=20
I've attached a file with the</SPAN></FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2><SPAN=20
class=3D544113218-07112003>page source as seen by IE 6 in it. If you =
want a screen=20
print let me know.</SPAN></FONT></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> Kenneth Benson=20
  [mailto:sdhmis@sheratondover.com]<BR><B>Sent:</B> Thursday, November =
06, 2003=20
  6:03 PM<BR><B>To:</B> 'Gonzalo Paniagua Javier';=20
  mono-list@lists.ximian.com<BR><B>Subject:</B> RE: [Mono-list] =
xsp/mod_mono=20
  setup<BR><BR></FONT></DIV>
  <P><FONT size=3D2>I think it's about 6-7 days old. I'll get a fresh =
CVS tomorrow=20
  and give it a try.</FONT> </P>
  <P><FONT size=3D2>-----Original Message-----</FONT> <BR><FONT =
size=3D2>From:=20
  Gonzalo Paniagua Javier [<A=20
  =
href=3D"mailto:gonzalo@ximian.com">mailto:gonzalo@ximian.com</A>]</FONT>=
=20
  <BR><FONT size=3D2>Sent: Wednesday, November 05, 2003 8:32 PM</FONT> =
<BR><FONT=20
  size=3D2>To: mono-list@lists.ximian.com</FONT> <BR><FONT =
size=3D2>Subject: Re:=20
  [Mono-list] xsp/mod_mono setup</FONT> </P><BR>
  <P><FONT size=3D2>El mi=E9, 05-11-2003 a las 20:02, Kenneth Benson=20
  escribi=F3:</FONT> <BR><FONT size=3D2>&gt; Below is the output of =
setting up xsp=20
  and mod_mono per the install</FONT> <BR><FONT size=3D2>&gt; =
file</FONT>=20
  <BR><FONT size=3D2>&gt; in mod_mono.....</FONT> <BR><FONT =
size=3D2>&gt;=20
  </FONT><BR><FONT size=3D2>&gt; =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT>=20
  <BR><FONT size=3D2>&gt; &lt;%@ language=3D"C#" %&gt; &lt;%@ Import=20
  namespace=3D"System.IO" %&gt; </FONT><BR><FONT size=3D2>&gt; Welcome =
to Mono=20
  XSP!</FONT> <BR><FONT size=3D2>&gt; <A =
href=3D"http://www.go-mono.com"=20
  target=3D_blank>http://www.go-mono.com</A></FONT> <BR><FONT =
size=3D2>&gt;=20
  </FONT><BR><FONT size=3D2>&gt; Here are some ASP.NET examples:</FONT> =
<BR><FONT=20
  size=3D2>&gt; </FONT></P>
  <P><FONT size=3D2>[snip]</FONT> </P>
  <P><FONT size=3D2>&gt; FileList.Text =3D sb.ToString ();</FONT> =
<BR><FONT=20
  size=3D2>&gt; %&gt;</FONT> <BR><FONT size=3D2>&gt; &lt;ul&gt;</FONT> =
<BR><FONT=20
  size=3D2>&gt; &lt;asp:Label id=3D"FileList" runat=3D"server" =
/&gt;</FONT> <BR><FONT=20
  size=3D2>&gt; &lt;/ul&gt;</FONT> <BR><FONT size=3D2>&gt; &lt;hr =
/&gt;</FONT>=20
  <BR><FONT size=3D2>&gt; &lt;small&gt;Generated: &lt;%=3D DateTime.Now =

  %&gt;&lt;/small&gt;</FONT> <BR><FONT size=3D2>&gt; =
&lt;/html&gt;</FONT>=20
  <BR><FONT size=3D2>&gt; =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT>=20
  <BR><FONT size=3D2>&gt; </FONT><BR><FONT size=3D2>&gt; Can anyone =
help me figure=20
  out what is going wrong?</FONT> <BR><FONT size=3D2>&gt; Thanks in=20
  advance!</FONT> </P>
  <P><FONT size=3D2>Are you using current CVS?</FONT> </P>
  <P><FONT size=3D2>-Gonzalo</FONT> </P><BR>
  <P><FONT =
size=3D2>_______________________________________________</FONT>=20
  <BR><FONT size=3D2>Mono-list maillist&nbsp; -&nbsp;=20
  Mono-list@lists.ximian.com</FONT> <BR><FONT size=3D2><A=20
  href=3D"http://lists.ximian.com/mailman/listinfo/mono-list"=20
  =
target=3D_blank>http://lists.ximian.com/mailman/listinfo/mono-list</A></=
FONT>=20
  </P></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C3A55E.B7F3C160--

------_=_NextPart_000_01C3A55E.B7F3C160
Content-Type: text/plain;
	name="xsp-problem.txt"
Content-Disposition: attachment;
	filename="xsp-problem.txt"

<%@ language="C#" %>
<%@ Import namespace="System.IO" %>
<html>
<head>
<title>Welcome to Mono XSP!</title>
</head>
<body>
<h1>Welcome to Mono XSP!</h1>
<a href="http://www.go-mono.com"><img src="mono.png" alt="http://www.go-mono.com"></a>
<p>Here are some ASP.NET examples:</p>
<%
DirectoryInfo dir = new DirectoryInfo (Path.GetDirectoryName (Request.PhysicalPath));
FileInfo[] files = dir.GetFiles ();
StringBuilder sb = new StringBuilder ();
Hashtable styles = new Hashtable ();
styles [".aspx"] = "background: #ffffff";
styles [".ashx"] = "background: #00cccc";
styles [".asmx"] = "background: #eeee00";
for (int i=0; i < files.Length; i++) {
	string fileName = Path.GetFileName(files[i].FullName);
	string extension = Path.GetExtension (files[i].FullName);
	if (styles.Contains (extension)) {
		sb.AppendFormat ("<li><a style=\"{1}\" href=\"{0}\">{0}</a></li>\n", fileName, styles [extension]);
	}
}
FileList.Text = sb.ToString ();
%>
<ul>
<asp:Label id="FileList" runat="server" />
</ul>
<hr />
<small>Generated: <%= DateTime.Now %></small>
</html>


------_=_NextPart_000_01C3A55E.B7F3C160--