www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Schlyter <ja...@cdg.chalmers.se>
Subject Re: mod_negotiation/1031: Content negotiation don't work with error documents
Date Mon, 25 Aug 1997 07:07:52 GMT
On Thu, 21 Aug 1997 Lars.Eilebrecht@unix-ag.org wrote:

> Synopsis: Content negotiation don't work with error documents
> 
> State-Changed-From-To: open-analyzed
> State-Changed-By: Lars.Eilebrecht@unix-ag.org
> State-Changed-When: Thu Aug 21 08:10:22 PDT 1997
> State-Changed-Why:
> 
> Hmm... I cannot verify your problem.
> I'm using negotiated ErrorDocuments myself with Apache 1.2.3.
> Please check your configuration.
> What happens if you try to access the .var file directly?

Accessing the .var file direcly works OK. Here is some of my
configuration:

==== httpd.conf
RewriteRule     ^/httpd-errors/(.*)     /usr/local/etc/httpd/errors/$1

[...]

ErrorDocument 404 /httpd-errors/not_found.var

[...]

<Directory /usr/local/etc/httpd/errors>
Options IncludesNoExec FollowSymLinks
AllowOverride None
</Directory>

==== /usr/local/etc/httpd/errors/not_found.var
URI: not_found.html; vary="language"

URI: not_found.sv.html
Content-type: text/html
Content-language: sv

URI: not_found.en.html
Content-type: text/html
Content-language: en

URI: not_found.en.html
Content-type: text/html
Content-language: *
====

/Jakob

--
Jakob Schlyter <jakob@cdg.chalmers.se>       Networker
Phone:  +46 31-772 59 19                     Computer Communications Group
Fax:    +46 31-772 59 22                     Chalmers University of Technology
http://www.cdg.chalmers.se/~jakob/           S-412 96 Goteborg, Sweden


Mime
View raw message