Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

[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:
    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)
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    43
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    Does it work if you rename the file index.aspx?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. barney-

    barney- Member

    Joined:
    May 29, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    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,563
    Likes Received:
    43
    Trophy Points:
    308
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. barney-

    barney- Member

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

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    43
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    You're welcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice