Skip to main content

Serving and Configuration

  • Chapter
Book cover Web Standards
  • 1244 Accesses

Abstract

The correct appearance and handling of web documents cannot be guaranteed simply by applying strict, error-free markup. Web server configuration has a significant impact on web site appearance, operation, and behavior. Documents should be served with the proper media type and character encoding. Content negotiation can be used to serve various document versions to browsers supporting the corresponding media types. XHTML documents can be served as either HTML or XML, but there is a huge difference in processing. XML files are processed by XML parsers that are far more error sensitive than SGML parsers. XHTML served as XML involves the risk that the document cannot be rendered at all. On the other hand, backward-compatible serving cannot use the benefits of strict XML markup. There are several aspects of sending HTML and XHTML from the server to the rendering engine, all of which should be considered to achieve proper settings.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Nottingham M, Mogul J (2005) HTTP Header Field Registrations. RFC 4229. The Internet Society. http://tools.ietf.org/html/rfc4229. Accessed 15 Aug 2011

    Google Scholar 

  2. IANA (2007) MIME Media Types. The Internet Assigned Numbers Authority. www.iana.org/assignments/media-types/. Accessed 01 January 2011

    Google Scholar 

  3. Murata M, Laurent S, Kohn D (2001) XML Media Types. The Internet Society. http://tools.ietf.org/html/rfc3023. Accessed 08 October 2010

    Google Scholar 

  4. Baker M, Stark P (2002) The ‘application/xhtml+xml’ Media Type. The Internet Society. http://tools.ietf.org/html/rfc3236. Accessed 08 October 2010

    Google Scholar 

  5. Masayasu I (2002) XHTML Media Types. W3C Note. World Wide Web Consortium. www.w3.org/TR/2002/NOTE-xhtml-media-types-20020801/. Accessed 08 October 2010

    Google Scholar 

  6. Nottingham M, Sayre R (eds) (2005) The Atom Syndication Format. The Internet Society. http://tools.ietf.org/html/rfc4287. Accessed 08 October 2010

    Google Scholar 

  7. IANA (2007) MIME Media Types. Internet Assigned Numbers Authority. www.iana.org/assignments/media-types/. Accessed 08 October 2010

    Google Scholar 

  8. IANA (2002) Application for Media Type. The Internet Assigned Numbers Authority. www.iana.org/cgibin/mediatypes.pl. Accessed 01 January 2011

    Google Scholar 

  9. Nottingham M, Sayre R (eds) (2005) The Atom Syndication Format. Proposed standard. The Internet Society. http://tools.ietf.org/html/rfc4287. Accessed 22 November 2010

    Google Scholar 

  10. Gregorio J, de Hora B (eds) (2007) The Atom Publishing Protocol. Proposed standard. The Internet Society. http://tools.ietf.org/html/rfc5023. Accessed 22 November 2010

    Google Scholar 

  11. Hoehrmann B (2006) Scripting Media Types. The Internet Society. http://tools.ietf.org/html/rfc4329. Accessed 01 January 2011

    Google Scholar 

  12. Crockford D (2006) The application/json Media Type for JavaScript Object Notation (JSON). RFC 4627. The Internet Society. http://tools.ietf.org/html/rfc4627. Accessed 01 January 2011

    Google Scholar 

  13. Carlisle D, Ion P, Miner R (eds) (2010) Selection of Media Types for MathML Instances. In: Mathematical Markup Language (MathML) Version 3.0. W3C Recommendation. World Wide Web Consortium. www.w3.org/TR/MathML3/appendixb.html. Accessed 02 January 2011

    Google Scholar 

  14. Freed N, Borenstein N (1996) Octet-Stream Subtype. In: Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types. RFC 2046. The Internet Society. http://tools.ietf.org/html/rfc2046. Accessed 01 January 2011

    Google Scholar 

  15. Goncalves I, Pfeiffer S, Montgomery C (2008) Ogg Media Types. RFC 5334. The Internet Society. http://tools.ietf.org/html/rfc5334. Accessed 01 January 2011

    Google Scholar 

  16. Taft E, Pravetz J, Zilles S, Masinter L (2004) The application/pdf Media Type. RFC 3778. The Internet Society. http://tools.ietf.org/html/rfc3778. Accessed 01 January 2011

    Google Scholar 

  17. Freed N, Borenstein N (1996) Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies. RFC 2045. Internet Engineering Task Force. http://tools.ietf.org/html/rfc2045. Accessed 18 February 2011

    Google Scholar 

  18. Freed N, Borenstein N (1996) PostScript Subtype. In: Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types. RFC 2046. The Internet Society. http://tools.ietf.org/html/rfc2046. Accessed 01 January 2011

    Google Scholar 

  19. Swartz A (2004) The application/rdf+xml Media Type Registration. RFC 3870. The Internet Society. www.ietf.org/rfc/rfc3870.txt. Accessed 02 January 2011

    Google Scholar 

  20. IANA (2007) Registration of the MIME type application/rtf. Internet Assigned Numbers Authority. www.iana.org/assignments/media-types/application/rtf. Accessed 03 January 2011

    Google Scholar 

  21. Levinson E (1995) SGML Media Types. Internet Assigned Numbers Authority. www.rfceditor.org/rfc/rfc1874.txt. Accessed 03 January 2011

    Google Scholar 

  22. Hoschka P (2006) The application/smil and application/smil+xml Media Types. RFC 4536. The Internet Society. www.ietf.org/rfc/rfc4536.txt. Accessed 03 January 2011

    Google Scholar 

  23. Baker M, Nottingham M (2004) The “application/soap+xml” media type. RFC 3902. The Internet Society. http://tools.ietf.org/html/rfc3902. Accessed 01 January 2011

    Google Scholar 

  24. Prud’hommeaux E, Seaborne A (2007) Internet Media Type, File Extension and Macintosh File Type. In: SPARQL Query Language for RDF. World Wide Web Consortium. www.w3.org/TR/2007/CR-rdf-sparqlquery-20070614/#mediaType. Accessed 03 January 2011

    Google Scholar 

  25. Beckett D, Broekstra J (eds) (2007) Internet Media Type, File Extension and Macintosh File Type. In: SPARQL Query Results XML Format. World Wide Web Consortium. www.w3.org/TR/2007/CR-rdfsparql-XMLres-20070925/#mime. Accessed 03 January 2011

    Google Scholar 

  26. Baker M, Stark P (2002) The “application/xhtml+xml” Media Type. RFC 3236. The Internet Society. http://tools.ietf.org/html/rfc3236. Accessed 01 January 2011

    Google Scholar 

  27. Murata M, St.Laurent S, Kohn D (2001) XML Media Types. RFC 3023. The Internet Society. http://tools.ietf.org/html/rfc3023. Accessed 01 January 2011

    Google Scholar 

  28. Kay M (ed) (2007) The XSLT Media Type. In: XSL Transformations (XSLT) Version 2.0. W3C Recommendation. World Wide Web Consortium. www.w3.org/TR/2007/REC-xslt20-20070123/#mediatype-registration. Accessed 03 January 2011

    Google Scholar 

  29. Paul Lindner (ed) (1993) Registration of the new MIME Content-Type/Subtype application/zip. Internet Assigned Numbers Authority. www.iana.org/assignments/media-types/application/zip. Accessed 01 January 2011

    Google Scholar 

  30. Ashbridge M (2006) Registration of the MIME type application/vnd.google-earth.kml+xml. Internet Assigned Numbers Authority. www.iana.org/assignments/media-types/application/vnd.googleearth.kml+xml. Accessed 03 January 2011

    Google Scholar 

  31. Ashbridge M (2006) Registration of the MIME type application/vnd.google-earth.kmz. Internet Assigned Numbers Authority. www.iana.org/assignments/media-types/application/vnd.googleearth.kmz. Accessed 03 January 2011

    Google Scholar 

  32. Lindner P (1993) Registration of the Media Type application/msword. Internet Assigned Numbers Authority. www.iana.org/assignments/media-types/application/msword. Accessed 02 January 2011

    Google Scholar 

  33. Gill SS (1996) Registration of the MIME type application/vnd.ms-excel. Internet Assigned Numbers Authority. www.iana.org/assignments/media-types/application/vnd.ms-excel. Accessed 03 January 2011

    Google Scholar 

  34. Gill SS (1996) Registration of the MIME type application/vnd.ms-powerpoint. Internet Assigned Numbers Authority. www.iana.org/assignments/media-types/application/vnd.ms-powerpoint. Accessed 03 January 2011

    Google Scholar 

  35. Schubert S (2009) The application/vnd.oasis.opendocument.graphics MIME type. Internet Assigned Numbers Authority. www.iana.org/assignments/mediatypes/application/vnd.oasis.opendocument.graphics. Accessed 02 January 2011

    Google Scholar 

  36. Schubert S (2009) The application/vnd.oasis.opendocument.presentation MIME type. Internet Assigned Numbers Authority. www.iana.org/assignments/mediatypes/application/vnd.oasis.opendocument.presentation. Accessed 02 January 2011

    Google Scholar 

  37. Schubert S (2009) The application/vnd.oasis.opendocument.spreadsheet MIME type. Internet Assigned Numbers Authority. www.iana.org/assignments/mediatypes/application/vnd.oasis.opendocument.spreadsheet. Accessed 02 January 2011

    Google Scholar 

  38. Schubert S (2009) The application/vnd.oasis.opendocument.text MIME type. Internet Assigned Numbers Authority. www.iana.org/assignments/mediatypes/application/vnd.oasis.opendocument.text. Accessed 02 January 2011

    Google Scholar 

  39. Nilsson M (2000) The audio/mpeg Media Type. RFC 3003. The Internet Society. http://tools.ietf.org/html/rfc3003. Accessed 01 January 2011

    Google Scholar 

  40. Barbato L (2008) RTP Payload Format for Vorbis Encoded Audio. RFC 5215. The Internet Society. http://tools.ietf.org/html/rfc5215. Accessed 01 January 2011

    Google Scholar 

  41. Microsoft Support (2003) MIME Type Settings for Windows Media Services. KB 288102. Microsoft Corporation. http://support.microsoft.com/kb/288102. Accessed 02 January 2011

    Google Scholar 

  42. Fleischman E (1998) WAVE and AVI Codec Registries. RFC 2361. The Internet Society. http://tools.ietf.org/html/rfc2361. Accessed 01 January 2011

    Google Scholar 

  43. Boutell T et al (1997) PNG (Portable Network Graphics) Specification Version 1.0. RFC 2083. Internet Engineering Task Force. http://tools.ietf.org/html/rfc2083. Accessed 01 January 2011

    Google Scholar 

  44. Randers-Pehrson G (2009) Registration of the Media Type image/png. Internet Assigned Numbers Authority. www.iana.org/assignments/media-types/image/png. Accessed 02 January 2011

    Google Scholar 

  45. Andersson O et al (2008) Media Type Registration for image/svg+xml. In: Scalable Vector Graphics (SVG) Tiny 1.2 Specification. W3C Recommendation. www.w3.org/TR/SVGTiny12/mimereg.html. Accessed 02 January 2011

    Google Scholar 

  46. Parsons G, Rafferty J (2002) Tag Image File Format (TIFF) — image/tiff MIME Sub-type Registration. RFC 3302. The Internet Society. http://tools.ietf.org/html/rfc3302. Accessed 01 January 2011

    Google Scholar 

  47. Butcher S (ed) (2003) Vendor Tree — vnd.microsoft.icon. Internet Assigned Numbers Authority. www.iana.org/assignments/media-types/image/vnd.microsoft.icon. Accessed 02 January 2011

    Google Scholar 

  48. Levinson E (1998) The MIME Multipart/Related Content-type. RFC 2387. The Internet Society. http://tools.ietf.org/html/rfc2387. Accessed 02 January 2011

    Google Scholar 

  49. Masinter L (1998) Returning Values from Forms: multipart/form-data. RFC 2388. The Internet Society. http://tools.ietf.org/html/rfc2388. Accessed 18 February 2011

    Google Scholar 

  50. Galvin J, Murphy S, Crocker S, Freed N (1995) Security Multiparts for MIME: Multipart/Signed and Multipart/Encrypted. RFC 1847. The Internet Engineering Task Force. http://tools.ietf.org/html/rfc1847. Accessed 02 January 2011

    Google Scholar 

  51. Lie H, Bos B, Lilley C (1998) The text/css Media Type. RFC 2318. The Internet Society. http://tools.ietf.org/html/rfc2318. Accessed 02 January 2011

    Google Scholar 

  52. Shafranovich Y (2005) Common Format and MIME Type for Comma-Separated Values (CSV) Files. RFC 4180. The Internet Society. http://tools.ietf.org/html/rfc4180. Accessed 02 January 2011

    Google Scholar 

  53. Connolly D, Masinter L (2000) The ‘text/html’ Media Type. RFC 2854. The Internet Society. http://tools.ietf.org/html/rfc2854. Accessed 02 January 2011

    Google Scholar 

  54. Hoehrmann B (2006) Scripting Media Types. RFC 4329. The Internet Society. http://tools.ietf.org/html/rfc4329. Accessed 02 January 2011

    Google Scholar 

  55. Gellens R (2004) The Text/Plain Format and DelSp Parameters. The Internet Society. http://tools.ietf.org/html/rfc3676. Accessed 02 January 2011

    Google Scholar 

  56. Lim Y, Singer D (2006) MIME Type Registration for MPEG-4. RFC 4337. http://tools.ietf.org/html/rfc4337. Accessed 02 January 2011

    Google Scholar 

  57. Goncalves I, Pfeiffer S, Montgomery C (2008) Ogg Media Types. RFC 5334. Internet Engineering task Force. http://tools.ietf.org/html/rfc5334. Accessed 02 January 2011

    Google Scholar 

  58. Lindner P (ed) (1993). Registration of the MIME content-type/subtype video/quicktime. Internet Assigned Numbers Authority. www.iana.org/assignments/media-types/video/quicktime. Accessed 02 January 2011

    Google Scholar 

  59. Microsoft Support (2003) MIME Type Settings for Windows Media Services. Microsoft Corporation. http://support.microsoft.com/kb/288102. Accessed 02 January 2011

    Google Scholar 

  60. Nottingham M, Mogul J (2005) HTTP Header Field Registrations. The Internet Society. http://tools.ietf.org/html/rfc4229. Accessed 08 October 2010

    Google Scholar 

  61. Fielding R, Irvine UC, Gettys J, Mogul J, Frystyk H, Masinter L, Leach P, Berners-Lee T (1999) Hypertext Transfer Protocol — HTTP/1.1. World Wide Web Consortium and The Internet Society. www.w3.org/Protocols/rfc2616/rfc2616-sec14.html. Accessed 08 October 2010

    Google Scholar 

  62. Berners-Lee T, Fielding R, Masinter L (1998) Uniform Resource Identifiers (URI): Generic Syntax. RFC 2396. The Internet Society. http://tools.ietf.org/html/rfc2396. Accessed 18 January 2011

    Google Scholar 

  63. Berners-Lee T, Masinter L, McCahill M (eds) (1994) Uniform Resource Locators (URL). RFC 1738. The Internet Engineering Task Force. http://tools.ietf.org/html/rfc1738. Accessed 18 January 2011

    Google Scholar 

  64. Mealling M, Denenberg R (eds) (2002) Report from the Joint W3C/IETF URI Planning Interest Group: Uniform Resource Identifiers (URIs), URLs, and Uniform Resource Names (URNs): Clarifications and Recommendations. RFC 3305. The Internet Society. http://tools.ietf.org/html/rfc3305. Accessed 18 January 2011

    Google Scholar 

  65. Berners-Lee T (1998) Cool URIs don’t change. World Wide Web Consortium. www.w3.org/Provider/Style/URI. Accessed 13 December 2010

    Google Scholar 

  66. Sauermann L, Cyganiak R (eds), Ayers D, Völkel M (2008) Cool URIs for the Semantic Web. W3C Interest Group Note. World Wide Web Consortium. www.w3.org/TR/cooluris/. Accessed 18 February 2011

    Google Scholar 

  67. Mockapetris P (1987) Domain names — Implementation and specification. RFC 1035. The Internet Engineering Task Force. http://tools.ietf.org/html/rfc1035. Accessed 19 January 2011

    Google Scholar 

  68. Braden R (ed) (1989) Requirements for Internet Hosts — Application and Support. RFC 1123. The Internet Engineering Task Force. http://tools.ietf.org/html/rfc1123. Accessed 19 January 2011

    Google Scholar 

  69. Elz R, Bush R (1997) Clarifications to the DNS Specification. RFC 2181. The Internet Engineering Task Force. http://tools.ietf.org/html/rfc2181. Accessed 19 January 2011

    Google Scholar 

  70. Nielsen J (2007) URL as UI. Jakob Nielsen. www.useit.com/alertbox/990321.html. Accessed 19 January 2011

    Google Scholar 

  71. No WWW (2008) www. is deprecated. http://no-www.org/. Accessed 19 January 2011

    Google Scholar 

  72. Hampton M (2011) www. is not deprecated. Michael Hampton. www.yes-www.org/. Accessed 19 January 2011

    Google Scholar 

  73. Fielding R, Irvine UC, Gettys J, Mogul J, Frystyk H, Masinter L, Leach P, Berners-Lee T (1999) Content Negotiation. In: Hypertext Transfer Protocol — HTTP/1.1. The Internet Society. www.w3.org/Protocols/rfc2616/rfc2616-sec12.html. Accessed 08 October 2010

    Google Scholar 

  74. TASF (2011) Content Negotiation. Apache HTTP Server Version 2.0. The Apache Software Foundation. http://httpd.apache.org/docs/2.0/content-negotiation.html. Accessed 23 January 2011

    Google Scholar 

  75. TASF (2011) Apache Module mod_negotiation. The Apache Software Foundation. http://httpd.apache.org/docs/2.0/mod/mod_negotiation.html#typemaps. Accessed 23 January 2011

    Google Scholar 

  76. Berners-Lee T (ed) (2011) Namespace Changes over Time. In: URIs for W3C namespaces. World Wide Web Consortium. www.w3.org/2005/07/13-nsuri. Accessed 18 February 2011

    Google Scholar 

  77. OCLC, Zepheira (2011) Persistent Uniform Resource Locators (PURL). OCLC Online Computer Library Center Inc., Zepheira LLC. http://purl.org. Accessed 18 February 2011

    Google Scholar 

  78. Bray T, Hollander D, Layman A, Tobin R, Thompson HS (eds) (2009) Namespaces in XML 1.0 (Third Edition). W3C Recommendation. World Wide Web Consortium. www.w3.org/TR/xml-names/. Accessed 18 February 2011

    Google Scholar 

Download references

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Leslie F. Sikos, Ph.D.

About this chapter

Cite this chapter

Sikos, L.F. (2011). Serving and Configuration. In: Web Standards. Apress. https://doi.org/10.1007/978-1-4302-4042-6_4

Download citation

Publish with us

Policies and ethics