From owner-freebsd-questions@FreeBSD.ORG Sun Sep 25 23:24:27 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9881F16A41F for ; Sun, 25 Sep 2005 23:24:27 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: from smtp3.suscom.net (smtp3.suscom.net [64.78.119.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id E463F43D48 for ; Sun, 25 Sep 2005 23:24:26 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: from localhost (unknown [127.0.0.1]) by smtp3.suscom.net (Postfix) with ESMTP id 3584E2101FC for ; Sun, 25 Sep 2005 19:24:23 -0400 (EDT) Received: from smtp3.suscom.net ([127.0.0.1]) by localhost (smtp3.suscom.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05088-01-56 for ; Sun, 25 Sep 2005 19:24:16 -0400 (EDT) Received: from seibercom.net (ip148.217.susc.suscom.net [216.45.217.148]) by smtp3.suscom.net (Postfix) with SMTP id 3A8842101C1 for ; Sun, 25 Sep 2005 19:24:16 -0400 (EDT) Received: from [192.168.0.2] ([192.168.0.2]) by seibercom.net (8.13.4/8.13.3) with ESMTP id j8PNOFCa000668 for ; Sun, 25 Sep 2005 19:24:17 -0400 (EDT) (envelope-from gerard@seibercom.net) Date: Sun, 25 Sep 2005 19:24:19 -0400 From: Gerard Seibert To: freebsd-questions@freebsd.org Sender: gerard@seibercom.net Organization: Seibercom.net In-Reply-To: <6.2.3.4.2.20050925153956.08f99a30@cobalt.antimatter.net> References: <20050925181553.A1005@seibercom.net> <6.2.3.4.2.20050925153956.08f99a30@cobalt.antimatter.net> Message-Id: <20050925191940.735D.GERARD@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.22.02 [en] X-Virus-Scanned: amavisd-new at suscom.net Subject: Re[2]: SSI error message X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Sep 2005 23:24:27 -0000 On Sun, 25 Sep 2005 15:40:21 -0700, Glenn Dawson Subject: Re: SSI error message Wrote these words of wisdom: > At 03:22 PM 9/25/2005, Gerard Seibert wrote: > >I inserted the "XBitHack on" statement into a ".htaccess" to turn on > >the SSI function. I then made the necessary modification to the > >httpd.conf file so that the file would be used. Now, I receive this > >error message in the "httpd-error.log" and I have no idea how to correct it. > > > >[Sun Sep 25 18:14:40 2005] [warn] [client 216.45.217.148] > >mod_include: Options + > >Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed > >[Sun Sep 25 18:14:40 2005] [warn] [client 216.45.217.148] > >mod_include: Options + > >Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed > > From the apache docs on mod_include: > > The following directive must be given for the directories containing > the shtml files (typically in a section, but this > directive is also valid .htaccess files if AllowOverride Options is set): > Options +Includes > > -Glenn ***** REPLY SEPARATOR ***** On 9/25/2005 7:19:40 PM, Gerard Seibert Replied: Yes, I figured out that I had not set the 'Options' directive correctly. I corrected it, and got SSI working. However, I now have a slightly different situation. I wanted to get the date formatted correctly on my site. I tried this, but it does not work correctly: the date is still displayed in the long format, along with the time. I do not understand why. I copied this directly from a site that was demonstrating how to use SSI to display the date or time in any format desired. For some reason, it does not work.