httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kespoosh  " <kespo...@hotmail.com>
Subject Re: [users@httpd] Apache 2.0.49 SSI - SHTML pages disp. as code
Date Fri, 16 Apr 2004 23:43:34 GMT
I forgot about the DirectoryIndex; I actually already had that in there. I 
added a specific <Directory> options setting but it still hasn't helped.


&gt;From: Joshua Slive &lt;joshua@slive.ca&gt;
&gt;Reply-To: users@httpd.apache.org
&gt;To: users@httpd.apache.org
&gt;Subject: Re: [users@httpd] Apache 2.0.49 SSI - SHTML pages disp. as code
&gt;Date: Fri, 16 Apr 2004 19:38:40 -0400 (Eastern Daylight Time)
&gt;MIME-Version: 1.0
&gt;Received: from mail.apache.org ([208.185.179.12]) by 
mc12-f42.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Fri, 16 Apr 2004 
16:38:51 -0700
&gt;Received: (qmail 14964 invoked by uid 500); 16 Apr 2004 23:38:34 -0000
&gt;Received: (qmail 14949 invoked from network); 16 Apr 2004 23:38:34 -0000
&gt;Received: from unknown (HELO out2.smtp.messagingengine.com) 
(66.111.4.26)  by daedalus.apache.org with SMTP; 16 Apr 2004 23:38:34 -0000
&gt;Received: from bronfman504 (Toronto-HSE-ppp3744977.sympatico.ca 
[67.68.83.38])by mail.messagingengine.com (Postfix) with ESMTP id 
98847A50477for &lt;users@httpd.apache.org&gt;; Fri, 16 Apr 2004 19:38:39 
-0400 (EDT)
&gt;X-Message-Info: JGTYoYF78jHimPFETZ1EwpJvEePhvc27
&gt;Mailing-List: contact users-help@httpd.apache.org; run by ezmlm
&gt;Precedence: bulk
&gt;list-help: &lt;mailto:users-help@httpd.apache.org&gt;
&gt;list-unsubscribe: &lt;mailto:users-unsubscribe@httpd.apache.org&gt;
&gt;list-post: &lt;mailto:users@httpd.apache.org&gt;
&gt;Delivered-To: mailing list users@httpd.apache.org
&gt;X-Sasl-enc: nWvVr+vHjQ60xcEqn6nziA 1082158719
&gt;In-Reply-To: &lt;BAY12-F31T0DHqCkjvv000503b5@hotmail.com&gt;
&gt;Message-ID: &lt;Pine.WNT.4.58.0404161936470.2140@bronfman504&gt;
&gt;References: &lt;BAY12-F31T0DHqCkjvv000503b5@hotmail.com&gt;
&gt;X-X-Sender: slive@fastmail.fm@mail.messagingengine.com
&gt;X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
&gt;Return-Path: users-return-40246-kespoosh=hotmail.com@httpd.apache.org
&gt;X-OriginalArrivalTime: 16 Apr 2004 23:38:53.0413 (UTC) 
FILETIME=[FA336950:01C4240B]
&gt;
&gt;
&gt;On Fri, 16 Apr 2004, Kespoosh   wrote:
&gt;
&gt; &gt; I'm running Apache 2.0.49 on Slackware 9.0, and I've followed the 
directions
&gt; &gt; in the documentation for SSI. I didn't get XBitHack to work so I 
named my
&gt; &gt; page index.shtml. All I get when I go to my site is a directory 
listing,
&gt; &gt; which is the first problem.
&gt;
&gt;You'll need to include index.shtml in the relevant DirectoryIndex line.
&gt;
&gt; &gt; Secondly, opening index just results in the
&gt; &gt; source code. I'm pretty sure the MIME-header is set to 
&quot;text/html&quot; so I'm
&gt; &gt; not sure where to go from here. Any help would be appreciated.
&gt; &gt; I have the following settings in httpd.conf
&gt; &gt; Options +Includes
&gt; &gt; AddOutputFilter INCLUDES .shtml
&gt; &gt; AddType text/html .shtml
&gt; &gt; AddHandler server-parsed .shtml
&gt;
&gt;Don't use both AddOutputFilter and AddHandler.  They are redundant.
&gt;
&gt;Your problem is almost certainly this one:
&gt;http://httpd.apache.org/docs/misc/FAQ.html#options
&gt;That is: your Options directive is not working because it is being
&gt;overriden by another Options directive.  As the FAQ says, you should
&gt;apply the Options to a more specific &lt;Directory&gt; section.
&gt;
&gt;Joshua.
&gt;
&gt;---------------------------------------------------------------------
&gt;The official User-To-User support forum of the Apache HTTP Server 
Project.
&gt;See &lt;URL:http://httpd.apache.org/userslist.html&gt; for more info.
&gt;To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
&gt;    &quot;   from the digest: users-digest-unsubscribe@httpd.apache.org
&gt;For additional commands, e-mail: users-help@httpd.apache.org
&gt;

_________________________________________________________________
MSN Premium includes powerful parental controls and get 2 months FREE*   
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message