From owner-freebsd-questions Thu Aug 28 05:16:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA24676 for questions-outgoing; Thu, 28 Aug 1997 05:16:59 -0700 (PDT) Received: from BIGFUN.vwcom.com ([151.197.101.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA24661 for ; Thu, 28 Aug 1997 05:16:50 -0700 (PDT) Received: from WillsCreek.COM (gw.willscreek.com [151.197.101.46]) by BIGFUN.vwcom.com (8.8.6/8.8.6) with ESMTP id IAA05463 for ; Thu, 28 Aug 1997 08:11:55 -0400 (EDT) Received: from current.willscreek.com (root@current.willscreek.com [172.16.87.1]) by WillsCreek.COM (8.8.5/8.7.3) with ESMTP id IAA02041 for ; Thu, 28 Aug 1997 08:16:27 -0400 (EDT) Received: (from bmc@localhost) by current.willscreek.com (8.8.5/8.7.3) id IAA01870; Thu, 28 Aug 1997 08:16:27 -0400 (EDT) Date: Thu, 28 Aug 1997 08:16:27 -0400 (EDT) Message-Id: <199708281216.IAA01870@current.willscreek.com> From: Brian Clapper MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: questions@FreeBSD.ORG Subject: Re: Server Side includes In-Reply-To: <25928745@toto.iv> X-Mailer: VM 6.23 under Emacs 19.34.1 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Michael Richards wrote: > I realise that this question is probably more suited to an apache list, but It is. Also, see http://WWW.Apache.ORG/ for comprehensive documentation on Apache. > does anyone know off the top how you make apache use server side includes > for all the .html files? In "srm.conf", find these lines: # If you want to use server side includes, or CGI outside # ScriptAliased directories, uncomment the following lines. AddType text/x-server-parsed-html .shtml Change the ".shtml" to ".html". Then, if Apache is running, issue this command as root: kill -1 `cat $APACHE_PID_FILE` where $APACHE_PID_FILE is the location of your server's PID file, as configured in "httpd.conf". ----- Brian Clapper, bmc@WillsCreek.COM, http://WWW.WillsCreek.COM/ There is one safeguard known generally to the wise, which is an advantage and security to all, but especially to democracies as against despots. What is it? Distrust. -- Demosthenes: Philippic 2, sect. 24.