guys, recently we upgraded apache 1.3 to apache 2 and it broke some ssi pages. ssi was no longer working on some pages. After tons of investigation I found that apache 2.0 expects ssi in different syntax
apache 2.0 expect SSI to be written like this
apache 2.0
<!--#include virtual="header.txt" -->
where as apache 1.3 use to parse SSI like this
<!--# include virtual="header.txt" -->
Please note space between #include is now gone in apache 2.0.
this page describes solution
Re: "missing directive name in parsed document"
i hope this will help some one some day. do reply in case it helps you
you can fix all pages in users folder with this comand
just got users public_html folder and run this command
find -name "*.htm*" -exec replace '<!--# include' '<!--#include' -- {} \;
this will replace error in all pages.



LinkBack URL
About LinkBacks
Reply With Quote




