The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[mod_mono] Won't parse ASP pages?

Discussion in 'General Discussion' started by barney-, Jun 1, 2009.

  1. barney-

    barney- Member

    Joined:
    May 29, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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)
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Does it work if you rename the file index.aspx?
     
  3. barney-

    barney- Member

    Joined:
    May 29, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    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.
     
  5. barney-

    barney- Member

    Joined:
    May 29, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Shucks, well thanks for your speedy response anyway. Appreciate it.
     
  6. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    You're welcome.
     
Loading...

Share This Page