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/



_______________________________________________
Savannah-help-public mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/savannah-hackers

Reply via email to