Re: Server Side Includes

by "Beauford.2002" <beauford.2002(at)rogers.com>

 Date:  Mon, 6 Jan 2003 20:56:53 -0500
 To:  "Keith D Sellars" <Keith(at)webgraffix.com>,
<hwg-basics(at)hwg.org>
 References:  p1 t6k6k9 laptop1 p12 S0026260871
  todo: View Thread, Original
When I do that I get 'XBitHack not allowed here' in my error_log file......

----- Original Message -----
From: "Keith D Sellars" <Keith(at)webgraffix.com>
To: <hwg-basics(at)hwg.org>
Sent: Monday, January 06, 2003 6:32 PM
Subject: Re: Server Side Includes


> XBitHack Full
>
> Add the above line in the .htaccess file and everything in its directory
> will be parsed for SSI's.
>
> Thanks,
> Keith D Sellars
> WebGraffix
> www.webgraffix.com
>
> "Making database sites seem easy"
>
> ----- Original Message -----
> From: "Beauford.2002" <beauford.2002(at)rogers.com>
> To: "Paul Roberts" <hwg(at)roberts200025.freeserve.co.uk>;
<hwg-basics(at)hwg.org>
> Sent: Monday, January 06, 2003 6:11 PM
> Subject: Re: Server Side Includes
>
>
> > I had it working, but I would rather change the way it works so that
every
> > file is not checked. I was looking at XBitHack, but can't figure it out,
> and
> > your suggestion below produces an error in my logs - AddType not allowed
> > here.
> >
> > ----- Original Message -----
> > From: "Paul Roberts" <hwg(at)roberts200025.freeserve.co.uk>
> > To: <hwg-basics(at)hwg.org>
> > Sent: Monday, January 06, 2003 3:04 PM
> > Subject: Re: Server Side Includes
> >
> >
> > the extension can be anything you like just add
> >
> > AddType text/html .html
> > AddHandler server-parsed .html
> > AddType text/html .htm
> > AddHandler server-parsed .htm
> >
> > in a .htaccess file.
> >
> > Best Wishes & Happy New Year
> >
> > Paul Roberts
> > mail(at)paul-roberts.com
> > ++++++++++++++++++++++++
> > ----- Original Message -----
> > From: "Sandy" <wallama(at)eskimo.com>
> > To: "Beauford.2002" <beauford.2002(at)rogers.com>; "HWG Basics"
> > <hwg-basics(at)hwg.org>
> > Sent: Monday, January 06, 2003 6:16 PM
> > Subject: Re: Server Side Includes
> >
> >
> > For the include file:  <!--#include virtual="/menu2.inc"-->
> > And the page you are using it on should have the SHTML extension.  I
> create
> > the file in notepad, and be sure to save it with the INC extension.
> > Sandy Stillwell
> > http://www.pnwwebdesign.com/
> >
> >
> >
> > > Hi,
> > >
> > > I'm just playing around here and trying to get <!--#include
> > > file="xxxxx.html" --> to work with no luck. I am running Apache on
> > Slackware
> > > Linux.......
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA