asp.net for non microsoft

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tyrohansen
    New Member
    • Aug 2006
    • 1

    asp.net for non microsoft

    hello there
    is it possible to use asp.net on non microsoft servers especially on apache and unix.
  • Enyi
    New Member
    • Jul 2006
    • 38

    #2
    ASP.NET isn't officially supported on non-Microsoft servers, as you can probably guess. So it won't work natively.

    However, there are quite a few projects out there on the web that attempt to try and port asp.net to other servers.

    I personally have never tried or looked into it much.

    I found this website, which will hopefully get you started looking into it.
    Apache::ASP provides an Active Server Pages port to the Apache Web Server with Perl scripting only, and enables developing of dynamic web applications with session management and embedded Perl code. There are also many powerful extensions, including XML taglibs, XSLT rendering, and new events not originally part of the ASP API!


    That's all I can say, I'm sure someone else could say something more useful...

    Comment

    • sashi
      Recognized Expert Top Contributor
      • Jun 2006
      • 1749

      #3
      Hi everyone,

      the syntax used in apache-asp is not anything like vbscript at all.. it's more to .cgi.. so make sure you have a little knowledge on .cgi too.. :)

      below is a sample syntax of apache-asp.. take a closer look..

      Code:
      <% 
          # "cross site scripting bug" prevention
          my $sanitized_url = 
      	$Server->HTMLEncode($Response->QueryString('OffSiteUrl'));
       %>
       <html>
       <head>
       <meta http-equiv=refresh content='0;URL=<%=$sanitized_url%>'>
       </head>
       <body>	
      	Redirecting you offsite to 
      	<a href=<%=$sanitized_url%> >here</a>...
       </body>
       </html>

      Comment

      Working...