barney-

Member
May 29, 2009
6
0
51
I installed mod_mono through easy apache successfully. I checked the httpd.conf it has the configs included and the library files. It is also running the mod_mono server with this process ( /opt/mono/bin/mono /opt/mono/lib/mono/2.0/mod-mono-server2.exe --filename /tmp/mod_mono_server_global --nonstop --master )

However, if I put a index.asp in my directory it opens it like a text file, and does not parse it?

Am I missing something. (Yes I realize I am not an 'experienced' mod_mono admin)
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
I installed mod_mono through easy apache successfully. I checked the httpd.conf it has the configs included and the library files. It is also running the mod_mono server with this process ( /opt/mono/bin/mono /opt/mono/lib/mono/2.0/mod-mono-server2.exe --filename /tmp/mod_mono_server_global --nonstop --master )

However, if I put a index.asp in my directory it opens it like a text file, and does not parse it?

Am I missing something. (Yes I realize I am not an 'experienced' mod_mono admin)
Does it work if you rename the file index.aspx?
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
Yes it did! It returned some errors (im assuming that this script needs a true IIS server?)

Here is a screenshot of it: http://i44.tinypic.com/30n7t6q.jpg

Why won't it recognize .asp? Do I have to rename all my files, or change a handler?
Typically .asp files are Classic ASP and either require a Windows server, or Sun Java System Active Server Pages.

mod_mono provides a .NET runtime, which only works with ASP.NET.

Some simple Classic ASP applications can work in an ASP.NET environment, but most won't.