├── .htaccess (redirects the browser to a specific page whether it points to /en /es or /it urls)
├── index.html.var (*must* be your DirectoryIndex)
├── index.html (English page and language fallback page)
├── index_es.html (Spanish page)
└── index_it.html (Italian page)
Serves the page which most suits the client's language settings. Choice is made by Apache server contextually to "Accept-Language" HTTP header values. Current example fallbacks to English page if no suitable language is found.
Make sure you have mod_negotiation enabled with $ apachectl -M | grep negotiation
or $ ls /etc/apache2/mods-enabled/negotiation.load
Tested on Apache 2.2 and 2.4
For more info: