From owner-freebsd-isp Wed Sep 2 15:34:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA17788 for freebsd-isp-outgoing; Wed, 2 Sep 1998 15:34:59 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from hawk.dfa.net (cdsl210.mpls.uswest.net [207.109.3.210]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA17735 for ; Wed, 2 Sep 1998 15:34:29 -0700 (PDT) (envelope-from rpanula@mplspop1.mpls.uswest.net) Received: from mplspop1.mpls.uswest.net (eagle.dfa.net [10.0.1.2]) by hawk.dfa.net (8.9.1a/8.9.1a) with ESMTP id RAA09920 for ; Wed, 2 Sep 1998 17:31:45 -0500 (CDT) Message-ID: <35EDC70D.B54CC72E@mplspop1.mpls.uswest.net> Date: Wed, 02 Sep 1998 17:30:37 -0500 From: Russ Panula X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.34 i586) MIME-Version: 1.0 To: isp@FreeBSD.ORG Subject: Re: Anyone running FrontPage with Apache on stable/current? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Andrew McNaughton wrote: > 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. My latest favorite toy has been Apache built with Frontpage+mod_perl+Embperl+DBI. If you haven't used Embperl or mod_perl, check them out! It's loads faster than standard CGI, and you can use your favorite HTML editor to embed perl in your documents. (Did I mention persistent database connectivity? 8-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message