Multiviews problems, frequent error 406

This is a discussion on Multiviews problems, frequent error 406 within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi I'm using Multiviews with my URLs, basically only hiding the file extensions, and allowing gzip compressed files to ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-25-2004
Matt
 
Posts: n/a
Default Multiviews problems, frequent error 406

Hi

I'm using Multiviews with my URLs, basically only hiding the file
extensions, and allowing gzip compressed files to be served if necessary
(by having example.css and example.css.gz in a folder, with the URL
example). The site is browsable in most browsers (more later) and the
compression works if applicable, but 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, and I 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
(This file hasn't been changed)

Thanks :-)

--
Matt
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:12 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0