mainSavannah Administration - Support: sr #105901, Content negotiation disabled?

 
 

sr #105901: Content negotiation disabled?

Submitter:  Daiki Ueno <ueno>
Submitted:  Sun 17 Jun 2007 01:08:28 AM UTC
   
 
Category:  Project webpages Priority:  5 - Normal
Severity:  4 - Important Status:  None
Privacy:  Public Assigned to:  None
Operating System:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 20 Jun 2007 09:35:18 AM UTC, comment #2: 

Thanks, I confirmed the problem is fixed.

However, there seems to be a confusion between "Language" and "Charset", if apache2.conf now contains the following line.

AddCharset iso-2022-jp .ja

This assumes index.html.ja always being written in ISO-2022-JP, while there are 4 major encodings used to encode Japanese texts, i.e. ISO-2022-JP, EUC-JP, Shift_JIS and UTF-8.

I only need the following lines (from the default configuration of apache2 in Debian unstable).

AddLanguage ja .ja
AddCharset ISO-2022-JP .iso2022-jp .jis

With these lines, I can supply ISO-2022-JP encoded pages with a combined extension like "index.html.ja.iso2022-jp", even if there is "AddDefaultCharset UTF-8".

Regards,

Daiki Ueno <ueno>
Tue 19 Jun 2007 08:30:31 PM UTC, comment #1: 

Hi,

I have fixed the error (negotiation or multiviews were not turned off
on gnu.org - apache2 simply expects different file extensions for
Japanese-encoded documents). I added the default of .ja for ISO-2022-JP
and the problem seems to be resolved (for this one case). I also added
a number of other defaults that no longer seem to exist in apache2.

I highly recommend people start using Unicode.

-Justin

Sylvain Beucler <Beuc>
Sun 17 Jun 2007 01:08:28 AM UTC, original submission:  

Hi,

I have been using common Apache's content negotiation feature for years.  Yesterday, I noticed that it is disabled now (and charset=UTF-8 is always added to response headers).

See,

http://www.nongnu.org/riece/
http://www.nongnu.org/riece/index.html.ja (written in ISO-2022-JP but charset=UTF-8 is forced)

Could you put the setting back?

Thanks,

Daiki Ueno <ueno>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by Beuc (Posted a comment)
  • -email is unavailable- added by ueno (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-06-19 Beuc Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code