Multiviews


Multiviews is a way to represent a page in different ways, most commonly in different languages. Using request headers, a browser can request a specific language from a server. Servers that cannot handle these requests ignore them.

RHEL


Multiviews is demonstrated by the Apache manual, which can be installed locally in /var/www/manual (httpd-manual package). When you point a browser to http://server/manual/index.html, the browser displays the page in the browser's default language. If you change the browser's default language setting and reload the page, the browser displays the page in the new language. The browser can display the pages in different languages because the server has a copy of the page for each language. For example, the files index.html.en and index.html.de both exist in the /var/www/manual directory.




A Practical Guide to Red Hat Linux
A Practical Guide to Red HatВ® LinuxВ®: Fedoraв„ў Core and Red Hat Enterprise Linux (3rd Edition)
ISBN: 0132280272
EAN: 2147483647
Year: 2006
Pages: 383

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net