|
From: | Jean-Yves Lefort |
Subject: | [Savannah-help-public] [sr #104549] Support user agents which do not accept application/xhtml+xml |
Date: | Fri, 12 Aug 2005 03:14:11 +0200 |
User-agent: | Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.10) Gecko/20050725 Epiphany/1.6.3 |
URL: <http://savannah.gnu.org/support/?func=detailitem&item_id=104549> Summary: Support user agents which do not accept application/xhtml+xml Project: Savannah Administration Submitted by: jylefort Submitted on: Fri 08/12/05 at 03:14 Category: Project homepages Priority: 5 - Normal Severity: 4 - Important Status: None Privacy: Public Assigned to: None Originator Email: Platform Version: None Open/Closed: Open _______________________________________________________ Details: When serving .xhtml documents from project web pages, could you please support user agents which do not accept the application/xhtml+xml Content-Type? Example configuration for Apache 1.3.x (needs mod_rewrite): # serve text/html to browsers not supporting application/xhtml+xml RewriteEngine on RewriteCond %{REQUEST_FILENAME} \.xhtml$ [NC] RewriteCond %{HTTP_ACCEPT} !application/xhtml\+xml [OR] RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml\s*;\s*=0([^.]|$) RewriteRule .* - [T=text/html] # tells that our content varies depending on the Accept header Header append Vary Accept _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/support/?func=detailitem&item_id=104549> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |