From owner-freebsd-questions Wed Aug 27 20:02:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA02828 for questions-outgoing; Wed, 27 Aug 1997 20:02:50 -0700 (PDT) Received: from super-g.inch.com (super-g.com [207.240.140.161]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA02821 for ; Wed, 27 Aug 1997 20:02:47 -0700 (PDT) Received: from localhost (spork@localhost) by super-g.inch.com (8.8.7/8.8.5) with SMTP id XAA22475; Wed, 27 Aug 1997 23:04:49 -0400 (EDT) Date: Wed, 27 Aug 1997 23:04:49 -0400 (EDT) From: spork X-Sender: spork@super-g.inch.com To: Don Wilde cc: questions@FreeBSD.ORG Subject: Re: Server Side Includes In-Reply-To: <340489D3.76DC@PartsNow.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk You should be careful where you put SSI... Especially if you have any pages (such as a guestbook) that allow users to "create" html on the fly. It's rather simple for someone to include an SSI directive in their bulletin board post. That command could do all sorts of nasty things, such as rm -rf /, /usr/X11R6/bin/xterm, etc... Charles On Wed, 27 Aug 1997, Don Wilde wrote: > In your srm.conf file, look for the line that says 'AddType > text/x-server-parsed-html .shtml' I believe if you add .html to the end > of it and kill -HUP the main httpd process, it will parse all pages at > some cost in speed. > > If all you want to do is to put a counter on your homepage or something > like that, change the DirectoryIndex to reference 'home.shtml' instead > of 'index.shtml'. Of course, then you might need to rename all of your > homepages :) Minor details... life as a webmaster... Next you'll be > asking me about file locking in Perl for extranets. 8-0 > > -- > oooOOO O O O o * * * * * * > o ___ _________ _________ ________ _________ _________ ___==_ > V_=_=_DW ===--- Don Wilde [don@PartsNow.com] [http://www.PartsNow.com ] > /oo0000oo-oo--oo-ooo---ooo-ooo---ooo-ooo--ooo-ooo---ooo-ooo---ooo-oo--oo >