[Mono-list] mono installation

geoff rainey geoffr@datacom.co.nz
Mon, 21 Jun 2004 21:08:00 +1200


Hello,

I have installed the following:

platform - whitebox linux
mono 0.31
xsp 0.12
mod_mono 0.10

all installed from source. I am receiving the following error when 
viewing index.aspx and other errors with other aspx files, any idea why?


--------------------------------------------
Here are some ASP.NET examples:

<% 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 ("
  * {0}
\n", fileName, styles [extension]); } } FileList.Text = sb.ToString ();
%>

--------------------------------------------

kind regards,
-- 
Geoff Rainey,
UNIX systems consultant,
Datacom Systems LTD
DDI 308 4345
Mob 0274 856 892