On Thu, 21 Aug 1997 [EMAIL PROTECTED] wrote:

> Synopsis: Content negotiation don't work with error documents
> 
> State-Changed-From-To: open-analyzed
> State-Changed-By: [EMAIL PROTECTED]
> 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 <[EMAIL PROTECTED]>       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

Reply via email to