Good ideas. Thanks.----- Original Message ----- From: "Hugh Williams" <hughw@xxxxxxxxxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx> Sent: Thursday, July 13, 2006 2:18 PM Subject: [users@httpd] Re: Windows and Server Side Includes
Pid wrote:if it's called "home.shtm", you'll need to: AddType text/html .shtm AddOutputFilter INCLUDES .shtmTo be somewhat more thorough, or at least to allow for this kind of potentialtypo, 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 hughJack 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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx-- Hugh Williams "There are two things to aim for in life;hugh_williams@xxxxxxxxxxx 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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx