Re: Apache Setup OK - IIS No Good

Hello Brian,

On Oct 5, 2006, at 05:08 , ADSL brianneilen wrote:
> I have setup the validator in apache and everything works fine(i  
> dont run apache though), now i have use that same folder and  
> created a new host pointing to that folder and again it validates  
> the page fine(after adding cgi in htdocs)

So you moved your working installation of the validator to IIS

>  but i have broken links no header or footer(half loading, gets  
> header ok but header cant load the extra ssi)

... and the server-side includes are interpreted, but not fully.

> and yes ssi is going.

Indeed it is but apparently IIS's implementation of the server-side  
includes do not interpret variables set like:
<!--#set var="relroot" value="./" -->
I couldn't find any documentation answering this, although I would  
hope that there may be an answer somewhere around:
http://search.microsoft.com/results.aspx?mkt=en-GB&setlang=en-GB&q=SSI

Alternatively, I guess you could just replace

     <link rev="start" href="<!--#echo var="relroot" -->" title="Home  
Page" />
     <style type="text/css" media="all">@import "<!--#echo  
var="relroot" -->base.css";</style>

with

     <link rev="start" href="/" title="Home Page" />
     <style type="text/css" media="all">@import "/base.css";</style>

and most everything should work...

Maybe someone on the list has managed to install the validator on  
IIS, and will have better suggestions. I, and I suppose most of the  
users of the validator, are more likely to be familiar with apache  
installation, however.

Hope this helps,
-- 
olivier

Received on Thursday, 5 October 2006 04:08:02 UTC