Forum Moderators: bakedjake

Message Too Old, No Replies

ASP on Linux

question about running asp scripts on linux

         

ajbattrick

12:49 pm on Jan 14, 2003 (gmt 0)

10+ Year Member



Hi, I need to run ASP scripts on Linux. Chilisoft (now called Sun One) is one option, and Instant ASP is another. Anyone know of others?

jpjones

12:56 pm on Jan 15, 2003 (gmt 0)

10+ Year Member



There was a perl based version of ASP for Apache called Apache::ASP [apache-asp.org], though I haven't used it so I couldn't vouch for it's portability or execution.

However, I have used Sun Ones' ChiliASP - and it works very well. The earlier versions weren't quite as stable or successful at running unmodified code from NT servers, but the latest version is excellent and is doing the job for me. The only thing it doesn't support is NT COM objects (unsurprisingly - it's running on Linux after all), but it has support for Java should you need to roll your own functions which can't be written in VB Script.

HTH,
JP

ajbattrick

1:06 pm on Jan 15, 2003 (gmt 0)

10+ Year Member



Have I understood it correctly when I say that Apache::ASP would require any ASP in VBScript to be rewritten?

Thanks

jpjones

3:59 pm on Jan 15, 2003 (gmt 0)

10+ Year Member



Yes, all your existing ASP code would have to be written into Perl's version of ASP.

For instance:

<%Counter = 0
Response.write("<BR>Counter: " & Counter)%>

would become

$counter++;
$Response->Write("<BR>Counter: $counter");

Less than ideal IMHO!
JP

ajbattrick

4:28 pm on Jan 15, 2003 (gmt 0)

10+ Year Member



Indeed. The client I am looking for doesn't want to do this. They have several sites.

Thanks for your help, I think Chilisoft/Sun One will be the answer