[1001] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: apache / httpd / server side include not working

daemon@ATHENA.MIT.EDU (Chris Powell)
Fri Oct 25 18:18:47 1996

To: redhat-list@redhat.com
In-reply-to: bill's message of Thu, 24 Oct 1996 14:23:41 -0500.
	     <199610241923.AA137875021@maverick> 
Date: Fri, 25 Oct 1996 17:29:00 -0400
From: Chris Powell <helios@brickandivy.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

> I think I have turned on everything correctly, but my
> server side includes don't work.  Any suggestions?
> 
> Here is what I did...

Bill,

I just configured SSI to work on my machine.  Here are the relevant parts of 
my srm.conf.

# To use CGI scripts:
AddHandler cgi-script .cgi

# To use server-parsed HTML files
AddType text/html .html
AddHandler server-parsed .shtml
AddHandler server-parsed .html

In other words, I believe you need to change your .shtml to .html on the 
AddType line so that the server will parse all HTML files, not just .shtml.

Regards,
Chris

-- 
Christopher Powell         Brick and Ivy Corporate Consulting, Inc.
powell@brickandivy.com                   http://www.brickandivy.com
            -= A PGP key is available and gladly shared =-
                -= Please note my new email address =-



--
  PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-HOWTO 
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post