|
Home > Archive > Web Servers on Windows > July 2006 > Apache - Server side includes
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Apache - Server side includes
|
|
| Jack Gostl 2006-07-08, 1:16 am |
| I have just installed Apache 2.2 on my XP Pro box. I then ported a large
website from my Unix Apache system, and everything works but server side
includes.
To be more precise, the "include file" doesn't work, its the only SSI we
use. I've followed the docs (I think) and added the:
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Just in case, I even added
AddHandler server-parsed .shtml
(That was on my Unix server).
I also went to the directory and added
Options +Includes
Still no dice.
Any suggestions?
Thanks.
| |
| Phil Frisbie, Jr. 2006-07-10, 1:15 pm |
| Jack Gostl wrote:
> I have just installed Apache 2.2 on my XP Pro box. I then ported a large
> website from my Unix Apache system, and everything works but server side
> includes.
>
> To be more precise, the "include file" doesn't work, its the only SSI we
> use. I've followed the docs (I think) and added the:
I always use the 'virtual' version:
<!--#include virtual="/file.inc"-->
--
Phil Frisbie, Jr.
Hawk Software
http://www.hawksoft.com
| |
| Jack Gostl 2006-07-10, 7:16 pm |
|
"Phil Frisbie, Jr." <phil@hawksoft.com> wrote in message
news:44b27a40$0$96168$742ec2ed@news.sonic.net...
> Jack Gostl wrote:
>
>
> I always use the 'virtual' version:
>
> <!--#include virtual="/file.inc"-->
>
> --
> Phil Frisbie, Jr.
> Hawk Software
> http://www.hawksoft.com
Tried it and it didn't work. Also tried another suggestion, made sure there
was no space between <!-- and #include.
| |
| Phil Frisbie, Jr. 2006-07-11, 1:24 pm |
| Jack Gostl wrote:
> "Phil Frisbie, Jr." <phil@hawksoft.com> wrote in message
> news:44b27a40$0$96168$742ec2ed@news.sonic.net...
>
>
> Tried it and it didn't work. Also tried another suggestion, made sure there
> was no space between <!-- and #include.
Make sure you are using a VIRTUAL path.
Also, when you say "didn't work", what did not work? What errors were logged?
--
Phil Frisbie, Jr.
Hawk Software
http://www.hawksoft.com
|
|
|
|
|