+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: asp scripting enabled?

  1. #1
    sifaka is offline x10Hosting Member sifaka is an unknown quantity at this point
    Join Date
    Dec 2007
    Posts
    44

    asp scripting enabled?

    I have tried to run a test active server pages script -from public html/cgi-bin folder- but it only gives me a blank screen, no errror message. ???

    HTML Code:
    <html>
    <body>
    <%
    response.write("Hello World!")
    %>
    </body>
    </html>
    thanks,
    matt

  2. #2
    Scoochi2's Avatar
    Scoochi2 is offline x10 Sophmore Scoochi2 is an unknown quantity at this point
    Join Date
    Aug 2008
    Location
    Southport!
    Posts
    185

    Re: asp scripting enabled?

    The ASP Framework needs a Windows powered server. X10 uses Linux and as such... not Windows

    Are you really getting a blank page? Check the source. I suspect you'll find it output exactly what you told it to, considering that the code isn't parsed.
    If anyone can see it, my post was meant for anyone who reads it. Don't take it personally or think I'm being condescending... :nuts:

  3. #3
    sifaka is offline x10Hosting Member sifaka is an unknown quantity at this point
    Join Date
    Dec 2007
    Posts
    44

    Re: asp scripting enabled?

    Uh huh, Scoochi2,
    When I run it from the cgi-bin folder I get an error message:

    Internal server error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    etc, etc, etc....

    If I run it from the public html folder I get a blank page.

    So there is no way to run asp on .x10 hosting because we use a platform type that doesn't support it.
    What are you using instead of asp?
    Moooochas gracias,
    sif

  4. #4
    Scoochi2's Avatar
    Scoochi2 is offline x10 Sophmore Scoochi2 is an unknown quantity at this point
    Join Date
    Aug 2008
    Location
    Southport!
    Posts
    185

    Re: asp scripting enabled?

    Maybe I got that wrong..?
    In your user CP, go to the CGI center. I'm not sure I can help you further with this one
    If anyone can see it, my post was meant for anyone who reads it. Don't take it personally or think I'm being condescending... :nuts:

  5. #5
    sifaka is offline x10Hosting Member sifaka is an unknown quantity at this point
    Join Date
    Dec 2007
    Posts
    44

    Re: asp scripting enabled?

    Scoochi2,
    Don't sweat it. You were a help. I might let this thread close. I'll work on it later....

  6. #6
    Twinkie is offline Banned Twinkie is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Ft. Lauderdale, Florida
    Posts
    1,389

    Re: asp scripting enabled?

    Only ASPX is currently supported. To enable that, you have to override your mime type to parse it, run from your CGI-BIN folder. Something I can get if you want it. Schooch2 is right, it is only commonly run on Microsoft servers (IIS).
    Last edited by Twinkie; 12-04-2008 at 10:01 PM.

  7. #7
    Scoochi2's Avatar
    Scoochi2 is offline x10 Sophmore Scoochi2 is an unknown quantity at this point
    Join Date
    Aug 2008
    Location
    Southport!
    Posts
    185

    Re: asp scripting enabled?

    To further Twinkie's response, I found this help topic:
    http://support.x10hosting.com/index....&kbarticleid=9
    1. You need to login cPanel and go to MIME Types under Advanced.

    2. Add the following MIME Type:

      Application: application/mono
      Extensions: .aspx .ascx .asax .ashx .config .cs .asmx .axd

    3. You should now be able to use ASP.NET on your site.
    If anyone can see it, my post was meant for anyone who reads it. Don't take it personally or think I'm being condescending... :nuts:

  8. #8
    xPlozion's Avatar
    xPlozion is offline x10 Elder xPlozion is an unknown quantity at this point
    Join Date
    Mar 2008
    Location
    Delaware, USA
    Posts
    872

    Re: asp scripting enabled?

    ah, so they use mono to power asp... that makes sense, since it's a cross-platform .net framework. Now I know how to answer the "is asp enabled" questions

    LINK: http://www.mono-project.com/Main_Page

  9. #9
    sifaka is offline x10Hosting Member sifaka is an unknown quantity at this point
    Join Date
    Dec 2007
    Posts
    44

    Re: asp scripting enabled?

    I still can't find a category "MIME types" in the "Advanced" area at the bottom of my C-panel. Is the mime types configuration somewhere else?
    Thanks again,
    sif

  10. #10
    t2t2t's Avatar
    t2t2t is offline x10 Elder t2t2t is an unknown quantity at this point
    Join Date
    Sep 2006
    Location
    Europe, Estonia
    Posts
    690

    Re: asp scripting enabled?

    Create ".htaccess" in root directory of your website (/public_html/) and write in it:
    Code:
    AddType application/mono aspx ascx asax ashx config cs asmx axd
    (If this helps I'll add it as a comment to KB article)
    Last edited by t2t2t; 12-29-2008 at 03:09 PM.
    This post has been marked spam 52 times.


+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Need Scripting Help?
    By shmooser in forum Programming Help
    Replies: 1
    Last Post: 05-06-2008, 08:16 AM
  2. is PHP curl enabled on the Absolut server?
    By LRgraham14 in forum Free Hosting
    Replies: 3
    Last Post: 09-09-2007, 03:12 PM
  3. Is SSH enabled?
    By cetutnx1 in forum Free Hosting
    Replies: 7
    Last Post: 08-24-2006, 07:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers