Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 1998 03:38:04 +1200 (NZST)
From:      Andrew McNaughton <andrew@squiz.co.nz>
To:        Russ Panula <rpanula@mplspop1.mpls.uswest.net>
Cc:        isp@FreeBSD.ORG
Subject:   Re: Anyone running FrontPage with Apache on stable/current?
Message-ID:  <Pine.BSF.3.96.980903032327.5910E-100000@aniwa.sky>
In-Reply-To: <35ED4635.1F6F7B3F@mplspop1.mpls.uswest.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2 Sep 1998, Russ Panula wrote:

> Bill Fumerola wrote:
> > Three words: Active Server Pages, try them in *nix.
> 
> The CPAN module Apache-ASP-0.02 can supposedly do perl ASP's...
> 
> >From the readme:
> 
> DESCRIPTION
>     This module provides a Active Server Pages port to Apache.
>     Active Server Pages is a web application platform that
>     originated with Microsoft's IIS server. Under Apache for both
>     Win32 and Unix, it allows a developer to create web applications
>     with session management and perl embedded in static html files.

Many of my CGI programs use templates with embedded perl.  Assuming you
trust the code, it's a simple matter to pass the template through a regex
to produce something exec'able.  This can be done in advance also, storing
both the template and the executable code.

It's imperfect.  Syntax errors can wind up being oddly reported, and
embedding a single curly brace to mark the end of a loop is a bit ugly. 
Various embellishments are possible, but for a simple hack it seems pretty
cool to me.

Andrew McNaughton


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980903032327.5910E-100000>