perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Chamas <jos...@chamas.com>
Subject Re: ASP cia CGI
Date Fri, 15 Feb 2002 20:56:50 GMT
Andreas Schenk wrote:
> 
> First I have to apologize for a maybe stupid question. But I'm a total
> newie to Apache::ASP.

We were all newbies once.

> I just stumpled over it yesterday evening and it seem's to be what I've
> ever been looking for: a combination of ASP and PERL!! So far I had to

This was my feeling before developing it :)  Back in '98, there was
only Embperl as a good embedded solution, but it did not have built
in $Session support, as Apache::Session was still on the drawing board.
Thus my "great work" began!

> do everthing with CGI!
> Unfornately my ISP does not provide mod_perl ...(my host is running on a
> virtual host and my provider says that mod_perl is not secure for such a
> server...) until I upgrade to a dedicated server (which I can't afford
> at the moment.)
> So my idea was to use Apache::ASP as a standalone program and to write a
> small wrap-around CGI script which invokes Apache::ASP and to call my
> ASP pages via this script. (OK, presumbably I loose much of the
> advantages of Apache::ASP, but at least I get some of them).
> What do you think of this idea? Is this possible with Apache::ASP? And
> if, does anybody else maybe already wrote such a script?
> 

I got Apache::ASP to run as a CGI fully a while back... 
some directions to do so are here:

  http://www.apache-asp.org/cgi.html#Standalone%20Cda318b27

You use the distribution ./cgi/asp script as the wrapper, 
which you can also use to execute ASP scripts from the command line.  
There is an asp.config file that you can use to for configuration 
instead of PerlSetVar settings.

> PS: The slower execution of the CGI script (compared to mod_perl) should
> not be a problem as it is a rather small site with not so much traffic...
> 

That's good, because it is really slow... I got something like 3 hits per
sec with it on a dual pIII-450.  Its slow because to compile all the 
Apache::ASP code for each request is quite a lot to do.  If your
provider keeps track of the CPU you use on the shared host, you 
might burn through it pretty fast.

--Josh

_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks Founder                       Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Mime
View raw message