Good ideas. Thanks.
----- Original Message -----
From: "Hugh Williams" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, July 13, 2006 2:18 PM
Subject: [EMAIL PROTECTED] Re: Windows and Server Side Includes
Pid wrote:
if it's called "home.shtm", you'll need to:
AddType text/html .shtm
AddOutputFilter INCLUDES .shtm
To be somewhat more thorough, or at least to allow for this kind of
potential
typo, try
AddType text/html .shtml .shtm
AddOutputFilter INCLUDES .shtml .shtm
And just as critical, there must be a space before the closing '-->' as
well:
<!--#include FILE="./include/topnav_home.inc"--> BAD
<!--#include FILE="./include/topnav_home.inc" --> GOOD
hugh
Jack Gostl wrote:
> I'm using 2.2.2 under Windows XP SP2, and I can't seem to get server
> side includes to work. Specifically file includes.
>
> Here is a typical statement from a file called home.shtm:
>
> <!--#include FILE="./include/topnav_home.inc"-->
>
> I think I've followed the directions on activitating the includes, but
> of course I could be wrong. Right where the comments indicate I've
> added:
>
> AddType text/html .shtml
> AddOutputFilter INCLUDES .shtml
>
> I even added
>
> AddHandler server-parsed .shtml
>
> because that was in my Unix http.conf. Still - nothing. Can anyone
> offer
> any advice?
>
> Thanks.
>
> Jack
>
>
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Hugh Williams "There are two things to aim for in life;
[EMAIL PROTECTED] first, to get what you want; and after
that,
Agilent Technologies to enjoy it. Only the wisest of mankind
Santa Rosa 2US-C achieve the second."
707.577.4941 - Logan Pearsall Smith, 1931
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]