A bit puzzled by this...
1. Ask the validator to look at http://www.nantperis.org.uk/index.php.en
(the exact filename of the page) and it brings back an error: 300
Multiple Choices.
I could understand that if the filename was specified without the .en as
there are more than one version of the page in different languages. Is
it stripping the .en? Has anyone managed to get it to find a .en file
or is it a bug I should report?
2. Ask it to validate http://www.nantperis.org.uk/history/church.php,
again the exact filename of the file, I get a 404 Not Found. Again, is
this a bug?
Both the W3C's CSS Validator and Bobby can find both files, even if you
don't include the file extensions so that the server does the job of
returning the correct file.
Would be grateful for comments.
--
Chris Simon os******@slcszetnet.co.uk http://www.users.zetnet.co.uk/csimon/
** Get rid of all SLCs to reply directly ** 10 2235
On Tue, 16 Nov 2004 19:49:52 +0000, Chris Simon
<os******@sclszetnet.co.uk> wrote: A bit puzzled by this...
1. Ask the validator to look at http://www.nantperis.org.uk/index.php.en (the exact filename of the page) and it brings back an error: 300 Multiple Choices.
I could understand that if the filename was specified without the .en as there are more than one version of the page in different languages. Is it stripping the .en? Has anyone managed to get it to find a .en file or is it a bug I should report?
2. Ask it to validate http://www.nantperis.org.uk/history/church.php, again the exact filename of the file, I get a 404 Not Found. Again, is this a bug?
Let me guess - Windows XP?
On Tue, 16 Nov 2004 14:53:17 -0500, Neal <ne*****@yahoo.com> wrote: On Tue, 16 Nov 2004 19:49:52 +0000, Chris Simon <os******@sclszetnet.co.uk> wrote:
A bit puzzled by this...
1. Ask the validator to look at http://www.nantperis.org.uk/index.php.en (the exact filename of the page) and it brings back an error: 300 Multiple Choices.
I could understand that if the filename was specified without the .en as there are more than one version of the page in different languages. Is it stripping the .en? Has anyone managed to get it to find a .en file or is it a bug I should report?
2. Ask it to validate http://www.nantperis.org.uk/history/church.php, again the exact filename of the file, I get a 404 Not Found. Again, is this a bug?
Let me guess - Windows XP?
Retracted - it does this for me as well.
I don't know the reason, but both pages validate when I run it off my
downloaded source in Opera.
Neal wrote: Let me guess - Windows XP?
Yes, actually!
You've since said that this is not the problem but out of curiosity, why
would this make a difference? Is there some strange known problem using
the validator with XP? I can think of the firewall....but every other
page I've got is found perfectly OK. This is the first time I've
uploaded content negotiated and PHP pages and they are the only pages
that are not found.
--
Chris Simon os******@slcszetnet.co.uk http://www.users.zetnet.co.uk/csimon/
** Get rid of all SLCs to reply directly **
On Tue, 16 Nov 2004 20:01:18 +0000, Chris Simon
<os******@sclszetnet.co.uk> wrote: Neal wrote: Let me guess - Windows XP?
Yes, actually!
You've since said that this is not the problem but out of curiosity, why would this make a difference?
There's a known bug with XP and the validator. It's been posted here
often. I took a wild guess here, but if it's affecting me too, it cannot
be that bug.
As I could validate from my cache, but not from your server, I suspect the
server is not serving the content properly. This is, however, way out of
my league, so I can't help you further.
On Tue, 16 Nov 2004, Chris Simon wrote: A bit puzzled by this...
1. Ask the validator to look at http://www.nantperis.org.uk/index.php.en (the exact filename of the page) and it brings back an error: 300 Multiple Choices.
If you go to the advanced validation menu, and type in the
URL of your page as above, -and- click on the "validate error pages"
and "show source" boxes, then you get this:
1: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
2: <HTML><HEAD>
3: <TITLE>300 Multiple Choices</TITLE>
4: </HEAD><BODY>
5: <H1>Multiple Choices</H1>
6: The document name you requested (<code>/index.php.en</code>) could
not be found on this server.
7: However, we found documents with names similar to the one you
requested.<p>Available documents:
8: <ul>
9: <li><a href="/index.html.cy">/index.html.cy</a> (common basename)
10: <li><a href="/index.html.en">/index.html.en</a> (common basename)
11: </ul>
12: </BODY></HTML>
If you ask to validate -this- URL: http://www.nantperis.org.uk/index.html.en
then it works. "Hence or otherwise deduce...".
Has your server got mod_speling enabled, perhaps?
I could understand that if the filename was specified without the .en as there are more than one version of the page in different languages. Is it stripping the .en?
Absolutely not. You can see the .en clearly in the URL mentioned in
the validator's report.
Has anyone managed to get it to find a .en file or is it a bug I should report?
The validator isn't interested in the "file" name, it's only
interested in its MIME content-type (and that's the same for every
self-respecting World Wide Web client - it's a mandatory feature of
RFC2616).
[cue the usual rant about the operating system component that
thinks it's a browser... but that doesn't seem to be part of
this particular problem.]
2. Ask it to validate http://www.nantperis.org.uk/history/church.php, again the exact filename of the file, I get a 404 Not Found.
I don't immediately have the answer for this one, sorry.
Alan J. Flavell wrote: If you ask to validate -this- URL:
http://www.nantperis.org.uk/index.html.en
then it works.
OMG - so it does!
Has your server got mod_speling enabled, perhaps?
No idea, but I've just done a Google on this and found that you can turn
it off with CheckSpelling Off in .htaccess. I tried that, but then got
Internal Server Error on trying to access any page! Anyway, as long as
I know to specify html instead of php then it's OK. Many thanks for
that pointer. 2. Ask it to validate http://www.nantperis.org.uk/history/church.php, again the exact filename of the file, I get a 404 Not Found.
I don't immediately have the answer for this one, sorry.
OK - thanks for thinking about it.
--
Chris Simon os******@slcszetnet.co.uk http://www.users.zetnet.co.uk/csimon/
** Get rid of all SLCs to reply directly **
Chris Simon <os******@sclszetnet.co.uk> wrote in
news:41**********************@master.news.zetnet.n et: A bit puzzled by this...
1. Ask the validator to look at http://www.nantperis.org.uk/index.php.en (the exact filename of the page) and it brings back an error: 300 Multiple Choices.
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. 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.
2. Ask it to validate http://www.nantperis.org.uk/history/church.php, again the exact filename of the file, I get a 404 Not Found. Again, is this a bug?
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?
Then again, I just tried something, and it's working now,
so you must have changed something?
--
Dave Patton
Canadian Coordinator, Degree Confluence Project http://www.confluence.org/
My website: http://members.shaw.ca/davepatton/
Dave Patton wrote: 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.
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.
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.
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:
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?
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.
Then again, I just tried something, and it's working now, so you must have changed something?
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 os******@slcszetnet.co.uk http://www.users.zetnet.co.uk/csimon/
** Get rid of all SLCs to reply directly **
....anyway, this problem has brought out one good thing - I've found this
newsgroup! I went to the Validator's feedback page for help and it said
to try this group, so this has been my first post here. I think I'll
stick around...
--
Chris Simon os******@slcszetnet.co.uk http://www.users.zetnet.co.uk/csimon/
** Get rid of all SLCs to reply directly **
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) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Antho |
last post by:
Hello NG
Sorry if this is the wrong NG to post this in. I have installed Apache2
and PHP on my Mdk 9.2 box. I have made an info.php page to test if php is
working. It appears that it is as my...
|
by: Antho |
last post by:
Firstly, thank you to everyone that replied to my OP. I am new to the PHP
world and so its great that there are people out there who are prepared to
share their knowledge.
Anyway, I am...
|
by: Retlak |
last post by:
The recommended (on dozens of websites) and effective (works in
Netscape, MSIE, Mozilla, probably others) way to detect if a browser
has Javascript turned off is to put this in the <head>:
...
|
by: Zenobia |
last post by:
I can't understand the warning I'm getting from the W3C
validator. Here it is, along with the source code that it is not
fully satisfied with. What meta-tags should I be including?
Here is the...
|
by: Trevor Orton |
last post by:
Hello, I'm having a slight problem using the W3C html validator and I've
reviewed the FAQ's with no luck so hopefully someone here would be kind
enough to point me in the right direction.
I...
|
by: Niki Kovacs |
last post by:
Hi,
I'm an Austrian writer living in Montpezat (South France). I just installed
a local W3C validator on my machine (Slackware 10.1, local Apache server).
It's accessible as...
|
by: Neal |
last post by:
Hi All,
Help please
Cross browser and W3C issues:
Having major hassles trying to get my site working and looking decent in
FFox (great in IE), MOzzie support said to try the W3C Validator
so...
|
by: yaru22 |
last post by:
I'd like to create a program that validates bunch of urls against the
w3c markup validator (http://validator.w3.org/) and store the result in
a file.
Since I don't know network programming, I...
|
by: y-man |
last post by:
Hi,
I am trying to get a working XML website. I tried to validate it
through the w3c validator and removed all errors it returned. Now it
just says that my code is not valid and that there are 0...
|
by: lllomh |
last post by:
Define the method first
this.state = {
buttonBackgroundColor: 'green',
isBlinking: false, // A new status is added to identify whether the button is blinking or not
}
autoStart=()=>{
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: Aliciasmith |
last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
|
by: giovanniandrean |
last post by:
The energy model is structured as follows and uses excel sheets to give input data:
1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
|
by: NeoPa |
last post by:
Hello everyone.
I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report).
I know it can be done by selecting :...
|
by: Teri B |
last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course.
0ne-to-many. One course many roles.
Then I created a report based on the Course form and...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM)
Please note that the UK and Europe revert to winter time on...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
|
by: GKJR |
last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
| |