http://localhost:8000/default.aspx
LoadModule mono_module modules/libmod_mono.so
Alias / "/var/www/html"
<Location />
SetHandler mono
</Location>if however I attempt to load a default file bay calling http://localhost:8000/ the following file always seems to be load, even when apache is NOT running.
<%@ 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>
And it is this file, which Mozilla flags as being of a file type that it cannot understand.
Question, What process would be running on port 8000, that would attempt to return the XSP test file index.aspx, even when apache is NOT running?
-- Regards
Tracy Barlow
TracyAnne Software
Phone 07 4124 5092 Mobile 0416 00 38 61 Email [EMAIL PROTECTED] Web www.tracyannesoftware.com/
_______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
