From owner-freebsd-isp Wed Sep 2 08:40:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA08677 for freebsd-isp-outgoing; Wed, 2 Sep 1998 08:40:10 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from aniwa.sky (aniwa.actrix.gen.nz [203.96.56.186]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA08671 for ; Wed, 2 Sep 1998 08:40:07 -0700 (PDT) (envelope-from andrew@squiz.co.nz) Received: from localhost (andrew@localhost) by aniwa.sky (8.8.7/8.8.7) with SMTP id DAA13079; Thu, 3 Sep 1998 03:38:06 +1200 (NZST) (envelope-from andrew@squiz.co.nz) Date: Thu, 3 Sep 1998 03:38:04 +1200 (NZST) From: Andrew McNaughton X-Sender: andrew@aniwa.sky Reply-To: andrew@squiz.co.nz To: Russ Panula cc: isp@FreeBSD.ORG Subject: Re: Anyone running FrontPage with Apache on stable/current? In-Reply-To: <35ED4635.1F6F7B3F@mplspop1.mpls.uswest.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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