W3C home > Mailing lists > Public > www-validator@w3.org > October 2006

Re: Apache Setup OK - IIS No Good

From: olivier Thereaux <ot@w3.org>
Date: Thu, 5 Oct 2006 13:07:51 +0900
Message-Id: <0E5D3E6C-7E61-4EC4-929E-42320307677D@w3.org>
Cc: <www-validator@w3.org>
To: "ADSL brianneilen" <microsoft1@westnet.com.au>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:23 GMT