httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt <mattli...@spam.matt.blissett.me.uk>
Subject [users@httpd] Error 406 when using Multiviews, for some clients (mainly robots)
Date Fri, 06 Aug 2004 19:16:42 GMT
[Yes, this was posted to alt.apache.configuration a while ago, but I've had
no response, I've removed some fluff though]

Hi

I'm using Multiviews with my URLs. The site is browsable in most browsers
(more later), but some search engines don't get the content, they get a
406 error:

[ip/date] "GET /web/meta/css_test HTTP/1.0" 406 478 "-" "Mozilla/2.0  
(compatible; Ask Jeeves/Teoma)"
[] "GET /web/tools/lorem_ipsum HTTP/1.0" 406 488 "-" "Mozilla/2.0  
(compatible; Ask Jeeves/Teoma)"
[] "GET /web/authoring/css_menus/css_menus_ie HTTP/1.0" 406 490 "-"  
"Googlebot/2.1 (+http://www.google.com/bot.html)"
[] "GET /web/authoring/css_menus/css_menus HTTP/1.0" 406 481 "-"  
"Googlebot/2.1 (+http://www.google.com/bot.html)"
[] "GET /web/tools/whois HTTP/1.0" 406 470 "-" "Googlebot/2.1  
(+http://www.google.com/bot.html)"
[] "GET /web/tools/lorem_ipsum HTTP/1.0" 406 488 "-" "Googlebot/2.1  
(+http://www.google.com/bot.html)"
[] "GET /apps/BrowseM/screenshot_1 HTTP/1.0" 406 510 "-" "msnbot/0.11  
(+http://search.msn.com/msnbot.htm)"

Going to these URLs is fine in the browser (at least, all the ones I  
have), and the headers seem OK to
me:

$ telnet matt.blissett.me.uk http
Trying 192.168.23.4...
Connected to localhost.
Escape character is '^]'.
HEAD /apps/BrowseM/screenshot_1 HTTP/1.1
Host: matt.blissett.me.uk

HTTP/1.1 200 OK
Date: Sun, 25 Jul 2004 18:00:16 GMT
Server: Apache/2.0.50 (Unix) PHP/4.3.8-dev
Content-Location: screenshot_1.png
Vary: negotiate,accept-encoding
TCN: choice
Last-Modified: Tue, 01 Jun 2004 21:15:35 GMT
ETag: "b7a43-4297e-13172bc0;e056f340"
Accept-Ranges: bytes
Content-Length: 272766
Content-Type: image/png

Additionally IE doesn't like the links to CSS files on this page:
<http://matt.blissett.me.uk/web/authoring/css_menus/>

Clicking either link (menu CSS or IE CSS) in Opera, Moz etc loads the CSS
file, but in internet explorer I'm given an apparently blank document
in notepad. In IE, going to this URL fails:
<http://matt.blissett.me.uk/web/authoring/css_menus/css_menus>
with an error, but going here:
<http://matt.blissett.me.uk/web/authoring/css_menus/css_menus.css>
is fine.

Can anyone suggest what is wrong? I've included a small part of
httpd.conf here, if more is needed I will post it

<Directory /home/*/public_html>
     AllowOverride None
     Options MultiViews Indexes SymLinksIfOwnerMatch Includes
</Directory>

DirectoryIndex index.html index.php index.html.var index.cgi index

TypesConfig conf/mime.types

DefaultType application/octet-stream

<IfModule mod_mime_magic.c>
     MIMEMagicFile conf/magic
</IfModule>


 From mime.types:
text/css                        css
text/html                       html htm
image/png                       png
(The file hasn't been changed at all)

Thanks :-)

-- 
Matt
http://matt.blissett.me.uk/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message