source: subversion/sites/donate.openstreetmap.org/htdocs/.htaccess @ 13536

Revision 13536, 716 bytes checked in by gslater, 5 years ago (diff)

Support Currency Conversion and Update Total

Line 
1# General Apache options
2Options +Includes +MultiViews
3
4#SetEnvIf Request_URI ^/(de|en|es|fr|ja|ko|pt-br|ru|tr)/ prefer-language=$1
5#RedirectMatch 301 ^/(?:/(de|en|es|fr|ja|ko|pt-br|ru|tr)){2,}(/.*)?$ /$1$2
6#SetEnvIf Cookie "language=(.+)" prefer-language=$1
7#Header append Vary cookie
8
9AddLanguage en .en
10AddLanguage en-gb .en
11AddLanguage en-us .en
12#AddLanguage de .de
13
14LanguagePriority en de es fr ja ko pt-br ru tr
15ForceLanguagePriority Prefer Fallback
16
17# Server Side Includes
18AddType text/html .shtml
19AddOutputFilter INCLUDES .shtml
20AddType text/html .html
21AddOutputFilter INCLUDES .html
22AddType text/html .shtml.en
23AddOutputFilter INCLUDES .shtml.en
24AddType text/html .html.en
25AddOutputFilter INCLUDES .html.en
Note: See TracBrowser for help on using the repository browser.