Click here to get back home

W3C's HTML validator unable to find PHP or content negotiated files?

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
W3C's HTML validator unable to find PHP or content negotiated files? Chris Simon 11-16-2004
Get Chitika Premium
Posted by Brian on November 19, 2004, 8:47 pm
Please log in for more thread options
Chris Simon wrote:
> Dave Patton wrote:
>
>> 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.
>
>
> 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.

It appears that there something set on your server that you don't need
and that's causing problems in some cases. I should be able to tell you
to go to tech support at your hosting company, but chances are the
people working there know as much as you do. What's worse, they
generally act like they know quite a lot. Ignorant and cocky is a
dangerous combination.

> 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.

This has been coming up an awful lot recently in the ciwa* groups. NB:
There is no filename on the client end. There is only a url that was
requested, and a response from the server, typically a document, but in
this case an error message.

> If the validator sends an accept type of text/html, the server may
> try to find files that match

Right. File names and extensions do matter on the server, as they are
often used to determine the response. As I said, you should be able to
go to support, but that is likely pointless. The alternative is to learn
about http and server stuff on your own, in other words, learn to do the
job of tech support yourself.

--
Brian (remove "invalid" to email me)


Similar ThreadsPosted
How to find out un-referenced webpages,images and files in web pages directory tree ? December 6, 2007, 6:15 am
W3C HTML Validator Error - Invalid content-type November 13, 2004, 1:48 am
Can searching be customized -- To focus search-results & find up-to-date content? August 1, 2006, 9:50 pm
CHM files do not show content. Why? July 11, 2005, 1:25 pm
Spice Up Your Files With Rich Media Content November 30, 2006, 7:28 am
Validator does not support content type? March 9, 2005, 9:28 pm
including html files in other html files December 3, 2008, 12:21 pm
Any html expert i can find July 28, 2005, 10:04 pm
Problem with downloading Word doc files and rtf files through browser January 25, 2005, 5:33 pm
How to unable background sound June 7, 2005, 5:24 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap