Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jan 2002
    Posts
    202

    Default Mod_Mono - How to make it work with .asp extensions?

    I have a customer who is only using ASP for a couple contact forms, but at this point his whole site is done with .asp (no actual code in 90% of the files grrrr). I tried adding a "AddType application/x-asp-net .asp" to the mod_mono config file, but this will make it prompt to download the file. Firefox see's it as a text/asp, but so far have had no luck getting it to work properly. If i rename one of his files to .aspx, it works.

    What am i missing here?

  2. #2
    Member
    Join Date
    Jan 2002
    Posts
    202

    Default

    I also understand Mono will not work with most classic asp, I just want it to display the site so they dont have to rewrite a ton of code, and i can make the couple contact forms work..

  3. #3
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    Are the asp files being uploaded from Windows? If so, make sure they are uploaded in ascii, not binary. We recently enabled asp on a server for a customer who was desperate to use basic asp functions and they had trouble getting their pages to work, until I realized they had uploaded in binary. Most ftp programs don't have .asp in their ascii list yet.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  4. #4
    Member
    Join Date
    Jan 2002
    Posts
    202

    Default

    They were uploaded properly. If i renamed the file to .aspx, everything worked.

Similar Threads & Tags
Similar threads

  1. [mod_mono] Won't parse ASP pages?
    By barney- in forum New User Questions
    Replies: 5
    Last Post: 06-01-2009, 09:38 AM
  2. .asp pages mod_mono module
    By forum17 in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 12-02-2008, 01:03 PM
  3. .asp and .aspx file extensions with mono
    By wrender in forum cPanel Developers
    Replies: 4
    Last Post: 02-16-2008, 01:40 AM
  4. .ASP - mod_mono section in Cpanel???
    By a1hosting in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-30-2007, 03:13 PM
  5. How to install ASP apache and mod_mono
    By Tagor in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 03-05-2005, 11:48 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube