Dave Patton wrote:[color=blue]
> That's not what I get using Firefox. If I look at the HTTP headers,
> via the LiveHTTPHeaders Firefox extension, or via:
>
http://www.delorie.com/web/headers.html
> I don't see the 300 response from your server, so I'd guess it's
> dependant on the HTTP headers sent by the W3C validator.[/color]
Well, I've been playing around in the last hour or so with my web
hosting control panel, and it has a setting for indexes, i.e. whether
the server should return a list of files in a directory if there is no
index file. I turned them off, but found that broke the site for some
reason. I turned them back on again, and now I find that it all works.
I'm completely baffled. Perhaps it's now working, so in fact it's not
sending a 300 any more so you're not seeing that now.
[color=blue]
> My(limited)
> understanding of content negotiation tells me that it's a valid
> response, but maybe the W3C validator should list the choices
> (the list should have been sent by your server), so you can select
> one to validate.[/color]
As far as I can see, the server shouldn't have returned a 300 anyway as
I was sending it the *exact* filename, not a partial name that might
match several files.
One theory I had which you hinted at here:
[color=blue]
> You aren't alone on this one:
>
http://thread.gmane.org/gmane.org.w3c.validator/3520
> In that thread they indicate the problem is related to
> "Accept-Language: *", so maybe that's what the W3C Validator sends?[/color]
If the validator sends an accept type of text/html, the server may try
to find files that match that but perhaps its PHP setting isn't correct,
so it applies MultiViews and tries to find a .html file instead of a
..php file. That would explain why my index file only works if I specify
index.html not index.php because of the default index property, and why
the internal church.php page gets a 404 because there is no match for
church.html. But it doesn't seem *quite* right.
[color=blue]
> Then again, I just tried something, and it's working now,
> so you must have changed something?[/color]
See above. I can't imagine what I've done affected anything as it's
back to what it was before.
But I'm not complaining! It's just annoying that I don't know the
reason for it.
--
Chris Simon
osianall@slcszetnet.co.uk http://www.users.zetnet.co.uk/csimon/
** Get rid of all SLCs to reply directly **